Beginners question

boltar2003 at boltar.world boltar2003 at boltar.world
Thu Aug 30 07:54:05 EDT 2012


Hello

I'm slowly teaching myself python so apologies if this is a dumb question.
but something has confused me with the os.stat() function:

>>> s = os.stat(".")
>>> print s
posix.stat_result(st_mode=16877, st_ino=2278764L, st_dev=2053L, st_nlink=2, st_u
id=1000, st_gid=100, st_size=4096L, st_atime=1346327745, st_mtime=1346327754, st
_ctime=1346327754)

What sort of object is posix.stat_result? Its not a dictionary or list or a 
class object as far as I can tell. Thanks for any help.

B2003




More information about the Python-list mailing list