On Nov 11, 10:32 am, John Nagle wrote:
> Is there any reason to prefer "tempfile.TemporaryFile()"
> over "os.tmpfile()"? Both create a nameless temporary file
> that will be deleted on close.
os.tmpfile calls your OS's tmpfile system call.
tempfile.TemporaryFile creates the temporary file its
On Nov 11, 11:32 am, John Nagle wrote:
> Is there any reason to prefer "tempfile.TemporaryFile()"
> over "os.tmpfile()"? Both create a nameless temporary file
> that will be deleted on close.
>
> John Nagle
tempfile.TemporaryFile has more options, e.g. file pre
Is there any reason to prefer "tempfile.TemporaryFile()"
over "os.tmpfile()"? Both create a nameless temporary file
that will be deleted on close.
John Nagle
--
http://mail.python.org/mailman/listinfo/python-list