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
stat.S_IFMT(mode) Return the portion of the file’s mode that describes the file type (used by the S_IS*() functions
os.path.splitunc(path) Deprecated since version 3.1: Use splitdrive
Source code: Lib/macpath.py
Path.is_block_device() Return True if the path points to a block device (or a symbolic link pointing to a block
PurePath.root A string representing the (local or global) root, if any:
tempfile.NamedTemporaryFile(mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None, delete=True) This
Path.lstat() Like Path.stat() but, if the path points to a symbolic link, return the symbolic link’s information
Path.unlink() Remove this file or symbolic link. If the path points to a directory, use Path.rmdir() instead.
Page 10 of 19