[Tutor] Writing to text files

Johan Geldenhuys johan at accesstel.co.za
Mon Aug 22 09:30:59 CEST 2005


Hi all,
I want to write to a text file with a timestamp, but I want to newest
entry at the top. So I want to insert the next entry to the file at the
beginning.
I can create and append to a file and then the latest entry is at the
bottom.
Any ideas how this is done please?

Thanks,

Johan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050822/4b8f6982/attachment.htm


More information about the Tutor mailing list