PurePath.with_name(name) Return a new path with the name changed. If the original path doesn’t have a name, ValueError
os.path.realpath(path) Return the canonical path of the specified filename, eliminating any symbolic links encountered in the
class pathlib.PureWindowsPath(*pathsegments) A subclass of PurePath, this path flavour represents Windows filesystem
os.path.ismount(path) Return True if pathname path is a mount point: a point in a
tempfile.gettempprefixb() Same as gettempprefix() but the return value is in bytes.
Path.replace(target) Rename this file or directory to the given target. If target points to an existing file
glob.iglob(pathname, recursive=False) Return an iterator which yields the same values
os.path.split(path) Split the pathname path into a pair, (head, tail) where tail is the last
os.path.expandvars(path) Return the argument with environment variables expanded. Substrings of the form $name
tempfile.NamedTemporaryFile(mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None, delete=True) This
Page 7 of 19