posix.stat_result

posix :: stat_result :: Class stat_result |
[hide private]
[frames] | no frames]

# Class stat_result

    object --+
             |
            stat_result

    stat_result: Result from stat or lstat.

    This object may be accessed either as a tuple of
      (mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime)
    or via the attributes st_mode, st_ino, st_dev, st_nlink, st_uid, and so on.

    Posix/windows: If your platform supports st_blksize, st_blocks, st_rdev,
    or st_flags, they are available as attributes only.

    See os.stat for more information.

Instance Methods | [hide private]
__add__(x, y) x+y |
__contains__(x, y) y in x |
__eq__(x, y) x==y |
__ge__(x, y) x>=y |
__getitem__(x, y) x[y] |
__getslice__(x, i, j) x[i:j] |
__gt__(x, y) x>y |
__hash__(x) hash(x) |
__le__(x, y) x<=y |
__len__(x) len(x) |
__lt__(x, y) x<y |
__mul__(x, n) x*n |
__ne__(x, y) x!=y |
a new object with type S, a subtype of T |
__new__(T, S, ...) |
__reduce__(...) helper for pickle |
__repr__(x) repr(x) |
__rmul__(x, n) n*x |
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__init__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| n_fields = `18`
| n_sequence_fields = `10`
| n_unnamed_fields = `3`

Properties | [hide private]
| st_atime time of last access
| st_blksize blocksize for filesystem I/O
| st_blocks number of blocks allocated
| st_ctime time of last change
| st_dev device
| st_flags user defined flags for file
| st_gen generation number
| st_gid group ID of owner
| st_ino inode
| st_mode protection bits
| st_mtime time of last modification
| st_nlink number of hard links
| st_rdev device type (if inode device)
| st_size total size, in bytes
| st_uid user ID of owner
Inherited from `object`: `__class__`

Method Details | [hide private]

### __getslice__(x, i, j) (Slicling operator) |
x[i:j] Use of negative indices is not supported.

### __hash__(x) (Hashing function) |
hash(x) Overrides: object.__hash__

### __new__(T, S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__

### __reduce__(...) |
helper for pickle Overrides: object.__reduce__ (inherited documentation)

### __repr__(x) (Representation operator) |
repr(x) Overrides: object.__repr__