python get windows environment variable code example
Example 1: python set windows environment variable
os.environ['API_PASSWORD'] = 'secret'
Example 2: print environment variables windows python
import os
print(os.environ)
os.environ['API_PASSWORD'] = 'secret'
import os
print(os.environ)