how 1 statistics directory (not file) in python?
for instance, need know when directory created. seems os.stat should solution, os.stat not work directories. works on files, far can tell.
thanks!
it works on directories
>>> import os >>> os.stat("/") (16877, 2l, 2049l, 25, 0, 0, 4096l, 1302891913, 1302891902, 1302891902)
Comments
Post a Comment