Environmental Variables

Sathyaish sathyaish at gmail.com
Mon Mar 13 05:34:13 EST 2006


In which physical file are the python environmental variables located?
I know I can access them using the:


os.environ.get('PYTHONSTARTUP')

or

os.environ.get('PYTHONPATH')


to get their values. But out of the program, if I need to look at them
and alter their values, where do I find them? Are they the OS
environmental variables as I suspect? If they are, then I'll find them
with the other OS environ variables in My
Computer->System->Properties->Advanced->Environmental Variables.

But I checked that place and did not find any default values for them.




More information about the Python-list mailing list