[Tutor] Using time.localtime() and files
Chris Avery
purplebo@babylonia.flatirons.org
Fri, 31 May 2002 08:08:31 -0600
Hi! I'm writin a script that writes the date, user, and change that that person did to a file called CHANGELOG. This is for a school machine with many student admins. I need the file to look like this:
YYYY-MM-DD user
* change
I know that I need to use time.localtime() and pickle, but I can't get the date to write to the file correctly.
Help!
Thanks
--
+++++++++++++++++++
Chris Avery, KC0KTH
+++++++++++++++++++