<div class="gmail_quote">On Fri, Aug 26, 2011 at 12:18, Andrew Pennebaker <span dir="ltr">&lt;<a href="mailto:andrew.pennebaker@gmail.com">andrew.pennebaker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Also, there&#39;s no need to &quot;buy in&quot; 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.</div>
</blockquote><div><br></div><div>The built-in environment variable support, e.g., os.getenv/putenv/environ, isn&#39;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.</div>
</div>