En Mon, 14 Jun 2010 11:57:20 -0300, Nathan Huesken
<pyt...@lonely-star.org> escribió:
tempfile.mkstemp returns a file name and a file descriptor (as returned
by os.open). Can I somehow convert this descriptor to a file object?
py> import os
py> help(os.fdopen)
Help on built-in function fdopen in module nt:
fdopen(...)
fdopen(fd [, mode='r' [, bufsize]]) -> file_object
Return an open file object connected to a file descriptor.
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list