Re: [python-win32] Setting environment variables in windows from Python Programs

2005-05-11 Thread Tim Roberts
On Tue, 10 May 2005 15:41:30 -0700, Tony C <[EMAIL PROTECTED]> wrote: >Your example didn't try to define the variable, it only attempted to >look at it's current value > >try this > > >>> C:\Tmp>set LANG >>> Environment variable LANG not defined >>> >>> > >C:\tmp> set LANG="SOME_LANGUAGE

Re: [python-win32] Setting environment variables in windows from Python Programs

2005-05-10 Thread Tim Roberts
On Mon, 9 May 2005 16:23:08 -0700, Nalli Dinesh <[EMAIL PROTECTED]> wrote: >This seems very easy, as every programming language provides this. But >I don;t know why I have this not working for me in Python scripts. >The problem: >I am trying to create and set environment variable LANG under wind

Re: [python-win32] Setting environment variables in windows from Python Programs

2005-05-10 Thread Paul Moore
On 5/10/05, Nalli Dinesh <[EMAIL PROTECTED]> wrote: > Folks, > This seems very easy, as every programming language provides this. But > I don;t know why I have this not working for me in Python scripts. > The problem: > I am trying to create and set environment variable LANG under windows > from P

[python-win32] Setting environment variables in windows from Python Programs

2005-05-09 Thread Nalli Dinesh
Folks, This seems very easy, as every programming language provides this. But I don;t know why I have this not working for me in Python scripts. The problem: I am trying to create and set environment variable LANG under windows from Python file. I am using OS module's putenv or environ to do so. B