Path.expanduser() Return a new path with expanded ~ and ~user constructs, as returned by
left_list Files and subdirectories in a, filtered by hide and ignore.
common Files and subdirectories in both a and b.
os.path.normpath(path) Normalize a pathname by collapsing redundant separators and up-level references so that A//B
shutil.copyfile(src, dst, *, follow_symlinks=True) Copy the contents (no metadata) of the file named src to a file
shutil.unpack_archive(filename[, extract_dir[, format]]) Unpack an archive. filename is the full path of the archive
PurePath.stem The final path component, without its suffix:
linecache.checkcache(filename=None) Check the cache for validity. Use this function if files in the cache may have changed on
PurePath.drive A string representing the drive letter or name, if any:
os.path.splitdrive(path) Split the pathname path into a pair (drive, tail) where drive is either
Page 14 of 19