more files

Darren Teo darrenteo82 at yahoo.com
Sat May 31 08:53:58 EDT 2003


Hey how would i do this if i have to write a list of strings into a "oldfile1" and deleting the "oldfile" before renaming the "oldfile1" to the "oldfile" ...... i hope i am making sense here ..... thanks
 
            # eg. filename is named oldfile #
def writelines(filename, lines)
 


---------------------------------
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20030531/98036dfe/attachment.html>


More information about the Python-list mailing list