shutil.Error
  • References/Python/Python/File & Directory Access

exception shutil.Error This exception collects exceptions that are raised during a multi-file operation. For copytree()

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

Path.is_char_device() Return True if the path points to a character device (or a symbolic link pointing to a character

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

PurePath.as_posix() Return a string representation of the path with forward slashes (/):

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

os.path.isabs(path) Return True if path is an absolute pathname. On Unix, that means it begins with a

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

exception shutil.SameFileError This exception is raised if source and destination in copyfile() are the same file

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

os.path.getsize(path) Return the size, in bytes, of path. Raise

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

PurePath.suffixes A list of the path’s file extensions:

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

report() Print (to sys

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

class fileinput.FileInput(files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None) Class FileInput

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

Path.resolve() Make the path absolute, resolving any symlinks. A new path object is returned:

2025-01-10 15:47:30