Memory mapped File (Python win32 extensions)

2005-03-17 Thread Srijit Kumar Bhadra
Hello, I see that it is possible to use mmapfile.pyd of win32all. The same is mentioned in http://www.python.org/windows/win32/#mmapfile. Unfortunately I could not trace any example using mmapfile. Any example or link to an example will be of help. I am interested to learn how to achieve efficien

Shared Memory Example (Python, ctypes, VC++)

2005-03-19 Thread Srijit Kumar Bhadra
Hello, Here are code snippets to create and access shared memory in Python with and without ctypes module. With regards, Srijit Filename : SharedMemCreate.py import msvcrt, mmap from ctypes import * FILE_MAP_ALL_ACCESS = 0xF001F INVALID_HANDLE_VALUE = 0x SHMEMSIZE = 256 PAGE_READWRITE =

Python 2.4 (Windows) Binaries of SciPy

2005-03-21 Thread Srijit Kumar Bhadra
Hello, I have posted a similar message in SciPy mailing list. I hope it is ok to also post it here. I am looking for Python 2.4 Binaries (Windows)of SciPy. Are there any plans to upload Python 2.4 binaries? Best Regards, /Srijit -- http://mail.python.org/mailman/listinfo/python-list

Example Code - Named Pipes (Python 2.4 + ctypes on Windows)

2005-03-25 Thread Srijit Kumar Bhadra
Hello, Here is an example of Multithreaded Pipe Server and Client using the excellent ctypes library (Windows). Reference - MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/multithreaded_pipe_server.asp and http://msdn.microsoft.com/library/default.asp?url=/library/

Re: Example Code - Named Pipes (Python 2.4 + ctypes on Windows)

2005-03-26 Thread Srijit Kumar Bhadra
Hello, I am quite familiar with Mark Hammond's win32all. It is excellent. However, I wish that there was more documentation of win32all beyond existing PyWin32.chm. I am aware of "Python Programming on Win32" but I do not have access to it at present. Best Regards, /Srijit -- http://mail.python.

Example Code : Shared Memory with Mutex (pywin32 and ctypes)

2005-04-02 Thread Srijit Kumar Bhadra
Hello, Here is some sample code with pywin32 build 203 and ctypes 0.9.6. Best regards, /Srijit File: SharedMemCreate_Mutex_win32all.py # This application should be used with SharedMemAccess_Mutex_ctypes.py or SharedMemAccess_Mutex_win32all.py #~ a) Creates a shared memory #~ b) Creates or Opens

Modelica

2006-06-27 Thread Srijit Kumar Bhadra
I am looking for possible options to interface Modelica (http://www.modelica.org/) with Python (scipy and numpy). Any suggestions? Best Regards, Srijit -- http://mail.python.org/mailman/listinfo/python-list

Re: Modelica

2006-06-30 Thread Srijit Kumar Bhadra
, Srijit [EMAIL PROTECTED] wrote: > Srijit Kumar Bhadra wrote: > > I am looking for possible options to interface Modelica > > (http://www.modelica.org/) with Python (scipy and numpy). Any > > suggestions? > > When you say "interface", what do you mean? > >

lxml and SimpleXMLWriter

2006-07-01 Thread Srijit Kumar Bhadra
I am new to lxml. I am interested to know the equivalent code using lxml (http://cheeseshop.python.org/pypi/lxml/1.1alpha). The code is taken from http://effbot.org/zone/xml-writer.htm from elementtree.SimpleXMLWriter import XMLWriter import sys w = XMLWriter(sys.stdout) html = w.start("html")

Python *eggs* on Win32

2006-07-08 Thread Srijit Kumar Bhadra
I have browsed the following links 1) http://peak.telecommunity.com/DevCenter/EasyInstall 2) When Python *Eggs* better than Python *distutils*?? What's Eggs? (http://tinyurl.com/m8dyd) But I am still not clear what to do with an .egg file. For example, if I have a basic Python installation (http:/

Re: Python *Eggs* on Win32

2006-07-08 Thread Srijit Kumar Bhadra
is always sufficient to have only MinGW GCC installation on my Win XP machine and not MS Visual Studio. Best Regards, Srijit Srijit Kumar Bhadra wrote: > I have browsed the following links > 1) http://peak.telecommunity.com/DevCenter/EasyInstall > 2) When Python *Eggs* better than Python *d

Re: Python at MS Event!

2005-05-06 Thread Srijit Kumar Bhadra
Was it IronPython 0.7.x or standard Python 2.4.1? Regards, /Srijit -- http://mail.python.org/mailman/listinfo/python-list

SIP examples

2007-09-12 Thread Srijit Kumar Bhadra
I am trying to learn SIP (http://www.riverbankcomputing.co.uk/sip/) these days. I do not see any examples similar to SWIG. http://www.swig.org/doc.html has lots of examples. But for SIP, all I see is a reference guide (http://www.riverbankcomputing.com/Docs/sip4/sipref.html). Examples help. Where

MinGW and Python

2006-04-23 Thread Srijit Kumar Bhadra
Is there any specific reason for not using MinGW to build the official distribution of Python for Win32? A quick Google search did not reveal the answer to my question. If a link is available, please post it. Best Regards, Srijit -- http://mail.python.org/mailman/listinfo/python-list

Python Wrapper Tools; a Performance Study

2008-11-12 Thread Srijit Kumar Bhadra
I am looking for the file Python Wrapper Tools; a Performance Study (http://people.web.psi.ch/geus/talks/europython2004_geus.pdf). The link seems to be no longer valid. If someone has a local copy, I request him/her to share it. /Srijit -- http://mail.python.org/mailman/listinfo/python-list

Cython Installation on Windows

2008-11-18 Thread Srijit Kumar Bhadra
Cython Installation on Windows documentation (http://wiki.cython.org/ InstallingOnWindows) needs a minor but important change. Under section "MinGW Compiler" [build] compiler = mingw32 should be replaced by the following lines (i.e. disutils.cfg should have the following lines) [build] compiler=m

lxml 2.2.4 for Python 2.6

2009-11-23 Thread Srijit Kumar Bhadra
Is there any reason why lxml-2.2.4-py2.6-win32.egg (md5) or lxml-2.2.4.win32-py2.6.exe is not available? Best regards, /Srijit -- http://mail.python.org/mailman/listinfo/python-list