set environmental variable from python

Rustom Mody rustompmody at gmail.com
Thu Oct 30 22:45:54 EDT 2014


On Friday, October 31, 2014 7:33:43 AM UTC+5:30, Artur Bercik wrote:
> Dear Dave Angel
> 
> 
> Thanks for your answer.
> 
> 
> I am using Python 2.7
> 
> 
> I want to set it permanently.
> I have to set several variables so it would be easier if I could set them from Python.

regedit is scriptable
http://support.microsoft.com/kb/310516

[Be careful though! Follow the precautions like backing up the registry
before messing around]



More information about the Python-list mailing list