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

subdirs A dictionary mapping names in common_dirs to dircmp objects.

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

tempfile.SpooledTemporaryFile(max_size=0, mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None) This

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

shutil.register_archive_format(name, function[, extra_args[, description]]) Register an archiver for the format name

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

stat.S_ISREG(mode) Return non-zero if the mode is from a regular file.

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

stat.S_ISDIR(mode) Return non-zero if the mode is from a directory.

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

Path.rename(target) Rename this file or directory to the given target. On Unix, if target exists and is a

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

shutil.get_unpack_formats() Return a list of all registered formats for unpacking. Each element of the returned sequence is

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

tempfile.gettempprefix() Return the filename prefix used to create temporary files. This does not contain the directory component

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

fileinput.filename() Return the name of the file currently being read. Before the first line has been read, returns None

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

PurePath.is_absolute() Return whether the path is absolute or not. A path is considered absolute if it has both a root and (if

2025-01-10 15:47:30