Skip to main content

Mojo 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
from os import setenv

Functions

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