tempfile problem on win98

Emile van Sebille emile at fenx.com
Fri Mar 23 16:17:46 CET 2001


You can pass mktemp a suffix parameter, ala:



Emile van Sebille
emile at fenx.com

"Steven Adams" <quickdry at users.sourceforge.net> wrote in message
news:viJu6.473$hb.2279 at news1.belrs1.nsw.optushome.com.au...
> "Emile van Sebille" <emile at fenx.com> wrote in message
> news:99d0dg$os92$1 at ID-11957.news.dfncis.de...
> > The mktemp routine guarantees to return a name unique in the target
> > directory.  Are you sure you're using fully qualified path names
> throughout
> > when subsequently discovering duplicate files?
> >
> > Emile van Sebille
> > emile at fenx.com
> ugh, I feel dumb, thats exactly the problem Emile, the file was
> getting an extension added and so it wasn't actually unique, is there
> a way to have a suffix included in the calculation of the filename
> instead of the prefix?
> thanks for opening my eyes to the glaringly obvious :-)
> Steven

More information about the Python-list mailing list