I have a file1.py where
import os
y=os.getenv("num")
print(y)
and another file file2.py
import os
os.environ["num"]="7"
Why is it returning the value None
instead of 7
. please guide me?
I want to access env varibales values of file1.py from another file file2.py