Skip to main content

module

fstat

Implements the file system stat operations.

You can import these APIs from the os package. For example:

from os import stat

Structs

  • stat_result: Object whose fields correspond to the members of the stat structure.

Functions

  • stat: Get the status of a file or a file descriptor.
  • lstat: Get the status of a file or a file descriptor (similar to stat, but does not follow symlinks).