tempfile.mktemp(suffix='', prefix='tmp', dir=None) Deprecated since version
exception shutil.SameFileError This exception is raised if source and destination in copyfile() are the same file
shutil.copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2, ignore_dangling_symlinks=False) Recursively copy
shutil.copymode(src, dst, *, follow_symlinks=True) Copy the permission bits from src to dst. The file contents
Path.is_char_device() Return True if the path points to a character device (or a symbolic link pointing to a character
PurePath.parts A tuple giving access to the path’s various components:
class pathlib.Path(*pathsegments) A subclass of PurePath, this class represents concrete paths of the system’s
os.path.splitext(path) Split the pathname path into a pair (root, ext) such that root + ext == path
linecache.getline(filename, lineno, module_globals=None) Get line lineno from file named filename. This function
Path.iterdir() When the path points to a directory, yield path objects of the directory contents:
Page 6 of 19