On Thursday, October 30, 2014, Artur Bercik <<a href="mailto:vbubbly21@gmail.com">vbubbly21@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Dave Angel<div><br></div><div>Thanks for your answer.</div><div><br></div><div>I am using Python 2.7</div><div><br></div><div>I want to set it permanently.</div><div>I have to set several variables so it would be easier if I could set them from Python.</div></div></blockquote><div><br></div><div>Depending on how "permanently" you mean, about your only solutions would be "os.system('setx <...>')" or manually manipulating the registry with the _winreg module.</div><div><br></div><div>Hope this helps,</div><div>--</div><div>Zach </div><br><br>-- <br>Sent from Gmail Mobile<br>