pathlib.PurePath.anchor
  • References/Python/Python/File & Directory Access

PurePath.anchor The concatenation of the drive and root:

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

class pathlib.PureWindowsPath(*pathsegments) A subclass of PurePath, this path flavour represents Windows filesystem

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

os.path.splitunc(path) Deprecated since version 3.1: Use splitdrive

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

os.path.ismount(path) Return True if pathname path is a mount point: a point in a

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

os.path.expanduser(path) On Unix and Windows, return the argument with an initial component of ~ or ~user

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

PurePath.name A string representing the final path component, excluding the drive and root, if any:

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

shutil.move(src, dst, copy_function=copy2) Recursively move a file or directory (src) to another location (dst)

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

os.path.split(path) Split the pathname path into a pair, (head, tail) where tail is the last

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

class pathlib.PurePath(*pathsegments) A generic class that represents the system’s path flavour (instantiating it creates either

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

report_full_closure() Print a comparison between a and b and common subdirectories (recursively).

2025-01-10 15:47:30