Was: "Inserting" a line in a text file?

Duncan Smith buzzard at urubu.freeserve.co.uk
Tue May 7 18:05:14 EDT 2002


Thanks All,
                 It just occured to me that I need to ensure that any
temporary file has a unique path + filename.  Is there some common idiom for
this, or is os.tempnam([dir[,prefix]]) or os.tmpnam() appropriate?  Cheers.

Duncan





More information about the Python-list mailing list