[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Find out last modtime of a file?
From: |
Skip Montanaro |
Subject: |
Re: Find out last modtime of a file? |
Date: |
Sun, 18 Jan 2004 16:08:20 -0600 |
Kai> In addition to invoking Perl and the /usr/bin/stat (or /bin/stat?)
Kai> program, which other ways can you think of to find the last modtime
Kai> of a file?
$ python -c 'import os ; print os.path.getmtime("/etc/passwd")'
1073427074
:-) Should work as above with versions of Python as far back as 1.5.2
(released in 1998 I think).
Skip
Re: Find out last modtime of a file?,
Skip Montanaro <=
Re: Find out last modtime of a file?, Adrian Phillips, 2004/01/19
Re: Find out last modtime of a file?, Yuji Yamano, 2004/01/19