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
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
shutil.copyfileobj()
  • References/Python/Python/File & Directory Access

shutil.copyfileobj(fsrc, fdst[, length]) Copy the contents of the file-like object fsrc to the file-like object fdst

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

shutil.copystat(src, dst, *, follow_symlinks=True) Copy the permission bits, last access time, last modification time, and flags

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
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
os.path.samefile()
  • References/Python/Python/File & Directory Access

os.path.samefile(path1, path2) Return True if both pathname arguments refer to the same file or directory. This

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

PurePath.joinpath(*other) Calling this method is equivalent to combining the path with each of the other arguments

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
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