set DOS environment variable

Dan Upton upton at
Thu Oct 2 17:31:09 CEST 2008

On Thu, Oct 2, 2008 at 11:18 AM, bill <wgrigg at> wrote:
> Hi all,
> Can Python set a DOS environment variable?
> TIA,
> Bill

I'd look at .  It
looks like putenv should do what you want.  It might only affect the
current process and things started from it using Popen, though.


More information about the Python-list mailing list