Yeah, you're right.  tempfile.mktemp() just provides a filename. 
tempfile.TemporaryFile() gives the autodeleted open filehandle I was
thinking of.

Chuck, why don't we add a MiscUtils class that generates tempfiles?

On Sat, 2002-12-07 at 02:19, Ian Bicking wrote:
> On Sat, 2002-12-07 at 00:01, Jay Love wrote:
> > Actually, I think the file is supposed to disappear when the process
> > ends.  That's why its a temp file.  Check the docs, but if that's your
> > main problem, I don't think changing the directory will help.
> 
> I don't believe that's the case, I think it's purely a name.  You are
> responsible for deleting it yourself, though someone else may delete it
> for you eventually if you put it in /tmp.
> 
>   Ian
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Webware-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-devel




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to