Printing date a file
dbickett at gmail.com
Wed Aug 25 01:43:54 CEST 2004
Kory Wheatley <wheakorypersonal at yahoo.com> wrote in message news:<mailman.2296.1093373725.5135.python-list at python.org>...
> In Python how would you print the date in a file, I
> have a logging program written in python and for each
> new recorded added to the file, I would like to print
> date, something like this below:
> 08/24/2004 or 08-24-2004
> Kory Wheatley
Read up on the time module, specifically strftime.
More information about the Python-list