mlos_bench.os_environ
Simple platform agnostic abstraction for the OS environment variables. Meant as a
replacement for os.environ
vs nt.environ
.
Example
>>> # Import the environ object.
>>> from mlos_bench.os_environ import environ
>>> # Set an environment variable.
>>> environ["FOO"] = "bar"
>>> # Get an environment variable.
>>> pwd = environ.get("PWD")
Attributes
A platform agnostic abstraction for the OS environment variables. |