[PythonCE] ceFile.py implementing basic file-like interface

Thomas Heller theller at python.net
Tue Feb 14 22:06:18 CET 2006


Shane Holloway (IEEE) wrote:
> Hey Everyone,
> 
> Just thought I'd upload our latest RAPI code that implements a file like 
> object for reading and writing over RAPI.  Hope you all find it 
> helpful!  Currently, it doesn't support the readline and iterator type 
> thing, though that should be doable on top of this interface.  Just 
> didn't have time to tackle that piece when I was writing it.
> 
> Enjoy!
> -Shane & Brian


I haven't taken a detailed look at the code, but it may be useful ;-).
I'm currently hacking a little bit with distutils to integrate win CE
support into the ctypes setup script so that it is easier to transfer
the code to the pda.

IMO modules like these should have an official place in CVS or SVN somewhere,
so that they can be installed and used by others - standalone files that everyone
installes in his own private directories isn't that useful.

Since they are ctypes-based, the ctypes CVS repository on sourceforge would be
a possible place, and a convenient one for me.  Of course, other places could be
good as well.  What do you think?

Thomas



More information about the PythonCE mailing list