You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
284 B
11 lines
284 B
"""
|
|
categories: Modules,os
|
|
description: ``getenv`` returns actual value instead of cached value
|
|
cause: The ``environ`` attribute is not implemented
|
|
workaround: Unknown
|
|
"""
|
|
import os
|
|
|
|
print(os.getenv("NEW_VARIABLE"))
|
|
os.putenv("NEW_VARIABLE", "VALUE")
|
|
print(os.getenv("NEW_VARIABLE"))
|
|
|