ID EN
OS

curdir

Python 3.11

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

Syntax

PYTHON
os.curdir

See Also

os.path