ID EN
OS

pardir

Python 3.11

The constant string used by the operating system to refer to the parent directory. This is '..' for Windows and POSIX. Also available via os.path.

Syntax

PYTHON
os.pardir

See Also

os.path