Could I take environment variables across the files.
Could I set env. variable in one file, and get it in another?
For example.
first.py
import os
os.environ["FOO"] = "1"
second.py
import os
print os.environ['FOO']
Could I take environment variables across the files.
Could I set env. variable in one file, and get it in another?
For example.
first.py
import os
os.environ["FOO"] = "1"
second.py
import os
print os.environ['FOO']