PyDocs

File and Directory Access

pathlib

Object-oriented filesystem paths.

This module provides classes to represent abstract paths and concrete
paths with operations that have semantics appropriate for different
operating systems.
Symbols in pathlib

p

Path
PurePath subclass that can make system calls.
PosixPath
Path subclass for non-Windows systems.
PurePath
Base class for manipulating paths without I/O.
PurePosixPath
PurePath subclass for non-Windows systems.
PureWindowsPath
PurePath subclass for Windows systems.

u

UnsupportedOperation
An exception that is raised when an unsupported operation is attempted.

w

WindowsPath
Path subclass for Windows systems.