Checking a file's time stamp.

William Purcell williamhpurcell at gmail.com
Tue Aug 12 13:46:31 EDT 2008


Hi all,
I am wanting to check to see the last time a file was edited. For example, I
have a directory containing two text files, file1.txt and file2.txt.   I
want to be able to process these files but only if they have been edited
since the last time they were processed. I think that I want to be able to
check the time stamp of each file. Can anyone tell me how to do that or
point me in a better direction of checking the last time a file was edited?
Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080812/8617c2b5/attachment.html>


More information about the Python-list mailing list