changing environment variables

Discussion in 'Python' started by Fred Lionetti, Sep 19, 2003.

  1. Hi all,

    I'm just wondering if anyone can tell me how to change an environment
    variable from python. I know you can view variables through os.environ, but
    changing the dictionary doesn't seem to change the systmem variable. Thanks
    for the help!

    -Fred
    Fred Lionetti, Sep 19, 2003
    #1
    1. Advertising

  2. Fred Lionetti

    John Roth Guest

    "Fred Lionetti" <> wrote in message
    news:bkfsk4$sk9$...
    > Hi all,
    >
    > I'm just wondering if anyone can tell me how to change an environment
    > variable from python. I know you can view variables through os.environ,

    but
    > changing the dictionary doesn't seem to change the systmem variable.

    Thanks
    > for the help!
    >
    > -Fred


    Look at the thread "Setting Environment Variables" that started
    yesterday in the early morning.

    John Roth
    >
    >
    John Roth, Sep 19, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jery J
    Replies:
    1
    Views:
    321
    Ravikanth[MVP]
    Nov 12, 2003
  2. Replies:
    5
    Views:
    640
  3. Replies:
    9
    Views:
    928
  4. Tammo Tjarks
    Replies:
    1
    Views:
    120
    Garry Offord
    Jun 9, 2008
  5. Terry Reedy
    Replies:
    0
    Views:
    143
    Terry Reedy
    Nov 27, 2012
Loading...

Share This Page