PurePath.as_posix() Return a string representation of the path with forward slashes (/):
stat.S_ISLNK(mode) Return non-zero if the mode is from a symbolic link.
Path.iterdir() When the path points to a directory, yield path objects of the directory contents:
linecache.getline(filename, lineno, module_globals=None) Get line lineno from file named filename. This function
shutil.copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2, ignore_dangling_symlinks=False) Recursively copy
PurePath.parent The logical parent of the path: >>>
PurePath.with_name(name) Return a new path with the name changed. If the original path doesn’t have a name, ValueError
report() Print (to sys
exception shutil.SameFileError This exception is raised if source and destination in copyfile() are the same file
os.path.getsize(path) Return the size, in bytes, of path. Raise
Page 6 of 19