Re: Extension module question

2012-01-15 Thread Stefan Behnel
Evan Driscoll, 15.01.2012 08:37: > As I hinted at in an earlier email, I'm working on a module which will > allow calling readdir() (and FindFirstFile on Windows, hopefully pretty > uniformly) from Python. The responses I got convinced me that it was a > good idea to write a C-to-Python bridge as a

Extension module question

2012-01-14 Thread Evan Driscoll
As I hinted at in an earlier email, I'm working on a module which will allow calling readdir() (and FindFirstFile on Windows, hopefully pretty uniformly) from Python. The responses I got convinced me that it was a good idea to write a C-to-Python bridge as an extension module. What I'm not sure ab

Re: using strings from extension module question + possible documentation error

2010-12-24 Thread Oleg Leschov
On Dec 24, 4:42 pm, Stefan Sonnenberg-Carstens wrote: > You could as an alternative just use byte arrays. These are changeable. thanks, that's exactly what I need. I have completely missed those things since they're pretty new. -- http://mail.python.org/mailman/listinfo/python-list

Re: using strings from extension module question + possible documentation error

2010-12-24 Thread Stefan Sonnenberg-Carstens
Am 24.12.2010 13:31, schrieb Oleg Leschov: Hi, I am writing an extension module in which I want to do some heavy number crunching on large amount of data. The input data is prepared using Python code and passed to this extension module via strings containing binary data, and the result is also

using strings from extension module question + possible documentation error

2010-12-24 Thread Oleg Leschov
Hi, I am writing an extension module in which I want to do some heavy number crunching on large amount of data. The input data is prepared using Python code and passed to this extension module via strings containing binary data, and the result is also passed back as a list of pretty large strings