How to receive a FILE* from Python under MinGW?
Ross Ridge
rridge at caffeine.csclub.uwaterloo.ca
Wed Mar 21 01:04:30 EDT 2007
Gabriel Genellina <gagsl-py2 at yahoo.com.ar> wrote:
>You can get the file descriptor from the Python file object using its
>fileno() method. The file descriptor lives at the OS level, so it's safe
>to pass around.
Not under Windows. Windows doesn't have Unix-like descriptors, so the
C runtime emulates them.
Ross Ridge
--
l/ // Ross Ridge -- The Great HTMU
[oo][oo] rridge at csclub.uwaterloo.ca
-()-/()/ http://www.csclub.uwaterloo.ca/~rridge/
db //
More information about the Python-list
mailing list