Is os.environ
is same as changing environmental variables from settings in Windows?
Import os
os.environ[‘variable_name’] = [‘value’]
I tried above to change environment variable, I ran above code from pythonshell
and checked my environment variable from Windows settings. I didn’t see that value.
Is this approach right?