On Wed, Jul 18, 2007 at 05:55:59PM -0700, Adrian Petrescu wrote: > I can see some correspondence between the "stat" call and os.lstat > (for example, I'm guessing os.lstat(path)[6] represents the filesize), > but I can't see the correspondence between some of the other fields. > What does os.lstat(path)[0] represent? Are those last three the > created/modified/accessed times in unix time or what? Basically, what > does each field of os.lstat(path) represent?
There's a whole module available explicitly for "interpreting results of os.stat() and os.lstat()." http://www.python.org/doc/current/lib/module-stat.html -- [Will [EMAIL PROTECTED]|http://www.lfod.us/] -- http://mail.python.org/mailman/listinfo/python-list