os.path.join(path, *paths) Join one or more path components intelligently. The return value is the concatenation of path
PurePath.is_reserved() With PureWindowsPath, return True if the path is considered reserved under
class pathlib.Path(*pathsegments) A subclass of PurePath, this class represents concrete paths of the system’s
shutil.copymode(src, dst, *, follow_symlinks=True) Copy the permission bits from src to dst. The file contents
shutil.copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2, ignore_dangling_symlinks=False) Recursively copy
linecache.getline(filename, lineno, module_globals=None) Get line lineno from file named filename. This function
PurePath.with_name(name) Return a new path with the name changed. If the original path doesn’t have a name, ValueError
tempfile.TemporaryFile(mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None) Return a
Path.iterdir() When the path points to a directory, yield path objects of the directory contents:
PurePath.parts A tuple giving access to the path’s various components:
Page 5 of 19