Environmental Variables
John Salerno
johnjsal at NOSPAMgmail.com
Mon Mar 13 12:01:48 EST 2006
Sathyaish wrote:
> 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.
>
As far as PYTHONPATH goes, I added that one manually to my list of
environment variables. As far as I know, it's not there by default.
Now, can someone tell me if adding it manually interferes with anything
else Python itself is doing?
More information about the Python-list
mailing list