how to switch from os.tmpnam to os.tmpfile

Harold Fellermann dadapapa at googlemail.com
Thu Jun 8 11:24:37 EDT 2006


Chris Lambacher wrote:
> You should be able to find exactly what you need in the tempfile module.
> http://docs.python.org/lib/module-tempfile.html

thanks! tempfile.NamedTemporaryFile() is exaclty what I have been
looking
for. Using python for such a long time now, and still there are unknown
goodies
in the library, great :-)

- harold -




More information about the Python-list mailing list