filecmp.dircmp.right_list
  • References/Python/Python/File & Directory Access

right_list Files and subdirectories in b, filtered by hide and ignore.

2025-01-10 15:47:30
filecmp.DEFAULT_IGNORES
  • References/Python/Python/File & Directory Access

filecmp.DEFAULT_IGNORES New in version 3.4.

2025-01-10 15:47:30
shutil.rmtree.avoids_symlink_attacks
  • References/Python/Python/File & Directory Access

rmtree.avoids_symlink_attacks Indicates whether the current platform and implementation provides a symlink attack resistant

2025-01-10 15:47:30
pathlib.Path.is_fifo()
  • References/Python/Python/File & Directory Access

Path.is_fifo() Return True if the path points to a FIFO (or a symbolic link pointing to a FIFO), False

2025-01-10 15:47:30
pathlib.Path.is_file()
  • References/Python/Python/File & Directory Access

Path.is_file() Return True if the path points to a regular file (or a symbolic link pointing to a regular file)

2025-01-10 15:47:30
stat.S_ISDOOR()
  • References/Python/Python/File & Directory Access

stat.S_ISDOOR(mode) Return non-zero if the mode is from a door.

2025-01-10 15:47:30
stat.S_IFMT()
  • References/Python/Python/File & Directory Access

stat.S_IFMT(mode) Return the portion of the file’s mode that describes the file type (used by the S_IS*() functions

2025-01-10 15:47:30
pathlib.PurePath.suffix
  • References/Python/Python/File & Directory Access

PurePath.suffix The file extension of the final component, if any:

2025-01-10 15:47:30
fileinput.isfirstline()
  • References/Python/Python/File & Directory Access

fileinput.isfirstline() Returns true if the line just read is the first line of its file, otherwise returns false.

2025-01-10 15:47:30
shutil.disk_usage()
  • References/Python/Python/File & Directory Access

shutil.disk_usage(path) Return disk usage statistics about the given path as a named tuple

2025-01-10 15:47:30