os.putenv() has no effect

Johannes Bauer dfnsonfsduifb at gmx.de
Tue Jun 18 13:48:28 EDT 2013


On 18.06.2013 19:24, inq1ltd wrote:

> if you are trying to add a dir to a linux path you need 
> to understand how to add or change environment variables. 

Yeah, about this; I actually am fully aware of what I'm doing.

> research this;
>   $ export PATH= $PATH: ???/???/???

You really couldn't have missed the point more if you tried. I'm not
working with Bash, but with Python. os.putenv() has no effect in my case
(not just with the PATH environment variable).

Regards,
Johannes




More information about the Python-list mailing list