shutil.get_archive_formats()
  • References/Python/Python/File & Directory Access

shutil.get_archive_formats() Return a list of supported formats for archiving. Each element of the returned sequence is a tuple

2025-01-10 15:47:30
filecmp.dircmp.report_partial_closure()
  • References/Python/Python/File & Directory Access

report_partial_closure() Print a comparison between a and b and common immediate subdirectories.

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

common_dirs Subdirectories in both a and b.

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

classmethod Path.cwd() Return a new path object representing the current directory (as returned by

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

shutil.make_archive(base_name, format[, root_dir[, base_dir[, verbose[, dry_run[, owner[, group[, logger]]]]]]]) Create an archive

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

class pathlib.PosixPath(*pathsegments) A subclass of Path and PurePosixPath, this class represents

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

Path.read_bytes() Return the binary contents of the pointed-to file as a bytes object:

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

Path.stat() Return information about this path (similarly to

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

fileinput.close() Close the sequence.

2025-01-10 15:47:30
os.path.getatime()
  • References/Python/Python/File & Directory Access

os.path.getatime(path) Return the time of last access of path. The return value is a number giving the number of seconds

2025-01-10 15:47:30