shutil.copy2(src, dst, *, follow_symlinks=True) Identical to copy() except that copy2() also attempts
Path.samefile(other_path) Return whether this path points to the same file as other_path, which can be either a Path
shutil.copy(src, dst, *, follow_symlinks=True) Copies the file src to the file or directory dst. src
stat.S_IMODE(mode) Return the portion of the file’s mode that can be set by
class pathlib.PosixPath(*pathsegments) A subclass of Path and PurePosixPath, this class represents
classmethod Path.cwd() Return a new path object representing the current directory (as returned by
os.path.dirname(path) Return the directory name of pathname path. This is the first element of the pair returned by
Page 19 of 19