Working with environment variables.

Christian Heimes lists at cheimes.de
Wed Sep 10 20:53:01 EDT 2008


aditya shukla wrote:
> now this dosen't change the value of the  variable which was set earlier
> .Please help me in fixing this issue.

Are you trying to modify or add an environment var so the change is 
visible from the calling shell? That's not possible. You can't change 
the env var of a parent process.

Christian




More information about the Python-list mailing list