ID EN
OS

environ

Python 3.11

A mapping object where keys and values are strings that represent the process environment. For example, environ['HOME'] is the pathname of your home directory (on some platforms), and is equivalent to getenv("HOME") in C.

Syntax

PYTHON
os.environ

See Also

mapping os os.environ os.environ putenv() sys.getfilesystemencoding() environb putenv()