Your confirmation is required to join the Python-list mailing list

Allan Yuan velvetyuan at
Mon May 4 18:14:28 CEST 2009

I just wanna know how to set SYSTEM variables and USER variables of windows,
but got no way.

Firstly I thought "os.environ + os.system" may work well, but found no way
to let "os.environ" run to retrive USER variables.

Then I tried win32api, finding the GetEnvironmentVariables() mixing SYSTEM
and USER variables up, and SetEnvironmentVariables() failing to add

Could you help me, please?
Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list