ID EN
Pathlib

PosixPath

Python 3.11

A subclass of Path and PurePosixPath, this class represents concrete non-Windows filesystem paths:

Syntax

PYTHON
class pathlib.PosixPath(*pathsegments)

Examples

Example 1
PYTHON
>>> PosixPath('/etc')
PosixPath('/etc')

See Also

Path PurePosixPath PurePath