Skip to main content

module

env

Implements basic routines for working with the OS.

You can import these APIs from the os package. For example:

from os import setenv

Functions

  • setenv: Changes or adds an environment variable.
  • getenv: Returns the value of the given environment variable.

Was this page helpful?