> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]
> g] On Behalf Of Vernon Cole
> Sent: 18 June 2009 16:05
> To: Roger Upole
> Cc: [email protected]
> Subject: Re: [python-win32] regarding invoking command prompt
> using python
>
> So -- is there an api call which DOES actually place the
> value in os.environ?
> --
> Vernon
I think you should just set the value in os.environ:
In [1]: import os
In [2]: os.environ['abc'] = 'def'
In [3]: os.getenv('abc')
Out[3]: 'def'
In [4]: os.environ['abc']
Out[4]: 'def'
Simon
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32