Environmental Variables

Duncan Booth duncan.booth at invalid.invalid
Mon Mar 13 06:29:04 EST 2006


Sathyaish wrote:

> What's the deal with environmental variables? Are they specific to an
> interpreter session? That shouldn't be.

If you think that then complain to Microsoft, or even the people who 
developed Unix since that is what Microsoft based their environment 
variables on.

Environment variables work the same way in Python as they do in any other 
process: any process can modify its own environment variables and pass 
those changes down to other processes which it starts, but no process can 
modify the environment of its parent process or any other process in the 
system.



More information about the Python-list mailing list