Get the date of last modification of a file

Manuel Bastioni manuelbastioni at tin.it
Tue Sep 9 10:01:56 CEST 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