Re: Checking a file's time stamp -- followup

2008-08-12 Thread Rob Weir
On 13 Aug 2008, Virgil Stokes wrote: > Is it possible to change the time stamp of a file (Win2K platform)? If > yes, how? os.utime, http://docs.python.org/lib/os-file-dir.html. -- -rob -- http://mail.python.org/mailman/listinfo/python-list

Re: Checking a file's time stamp -- followup

2008-08-12 Thread Virgil Stokes
Christian Heimes wrote: William Purcell wrote: 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

Re: Checking a file's time stamp.

2008-08-12 Thread Larry Bates
Christian Heimes wrote: William Purcell wrote: 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 t

Re: Checking a file's time stamp.

2008-08-12 Thread William Purcell
Perfect. Thanks, Christian and Edwin. -Bill On Tue, Aug 12, 2008 at 12:56 PM, <[EMAIL PROTECTED]> wrote: > os.paht.gmtime(path) returns the last modification of path. > check out http://docs.python.org/lib/module-os.path.html > > regards > Edwin > > -Original Message- > From: [EMAIL PROTE

Re: Checking a file's time stamp.

2008-08-12 Thread Edwin . Madari
os.paht.gmtime(path) returns the last modification of path. check out http://docs.python.org/lib/module-os.path.html regards Edwin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of William Purcell Sent: Tuesday, August 12, 2008 1:47 PM To: Python List Subject:

Re: Checking a file's time stamp.

2008-08-12 Thread Christian Heimes
William Purcell wrote: 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