On Fri, Aug 26, 2011 at 12:18, Andrew Pennebaker <
andrew.penneba...@gmail.com> wrote:

> Also, there's no need to "buy in" to the Windows toolchain just to edit
> PATH. Installer software includes functionality for editing environment
> variables, and in any case Python has built in environment variable editing,
> even for Windows.
>

The built-in environment variable support, e.g., os.getenv/putenv/environ,
isn't helpful here as it does not modify the global environment. It modifies
the current process and usually subprocesses. The proper way to apply
environment variable changes to the entire system is via the registry and
broadcasting a setting change message.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to