3 Jun
2002
3 Jun
'02
9:24 p.m.
Fredrik Lundh wrote:
walter wrote:
import stat; os.stat("foo")[stat.ST_MTIME] --> os.stat("foo").st_mtime
or, nicer:
os.path.getmtime("foo")
Is there an os.path function available for all the os.stat entries? Which version should we use? Should we change this at all? (stat.py won't go away, only string.py and types.py will.) Bye, Walter Dörwald