"Inserting" a line in a text file?
Gabe Newcomb
Gabe.Newcomb at noetix.com
Tue May 7 18:14:21 EDT 2002
There's currently a mail thread on this.
-----Original Message-----
From: Duncan Smith [mailto:buzzard at urubu.freeserve.co.uk]
Sent: Tuesday, May 07, 2002 3:05 PM
To: python-list at python.org
Subject: Was: "Inserting" a line in a text file?
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
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list