tempfile behavior

greg greg at cosc.canterbury.ac.nz
Fri Aug 10 11:14:23 CEST 2007

Marc 'BlackJack' Rintsch wrote:
> File descriptors are integers.  It's a low level C thing.  Either use the
> low level functions in `os` or open the file with the `filename`.

In particular, os.fdopen(fd) will give you a
file object.


More information about the Python-list mailing list