Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
os.environ
is a dict-like object containing environment variables as keys and their values as values. You can query the value of an environment variable usingos.environ[ENV_VAR_NAME]
. And you can set the value of an environemnt variable usingos.environ[ENV_VAR_NAME] = val
Current Working Directory in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!