Get the date of last modification of a file

Manuel Bastioni manuelbastioni at tin.it
Tue Sep 9 04:01:56 EDT 2003


> > It's possible using only a built-in module?
>
> os.path.getmtime()
...

 >>> import os, stat
 >>> s = os.stat("c:/tmp")

os isn't built-in :-(
Thx,

          Manuel







More information about the Python-list mailing list