Christian Heimes
1/2/2008 8:41:00 AM
jyoung79@kc.rr.com wrote:
> Can anyone elaborate on how 'os.tmpfile()' works? I was thinking it would create some sort of temporary file I could quickly add text too and then when I was finished would automatically get rid of it. Here's my questions:
Please don't use os.tmpfile(). It's not safe and exists only for legacy
reasons. The tempfile module contains methods to create safe temporary
files and directories.
Christian