[Python-au] Environment vars

Mike Dewhirst miked at dewhirst.com.au
Wed Aug 17 13:27:48 CEST 2005


I'm having difficulty inserting a couple of vars into the environment 
from within a script.

os.putenv(varname, value) doesn't seem do it.

The code doesn't barf but (in Windows XP) the set command doesn't 
indicate it actually happened. I haven't tried it with Linux.

Is there a trick to it?

TIA

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://starship.python.net/pipermail/python-au/attachments/20050817/2e7d0ec4/attachment.htm


More information about the python-au mailing list