Embedding setenv

Costas Menico costas at meezon.com
Thu Feb 22 20:58:20 CET 2001


On Thu, 22 Feb 2001 14:11:01 -0000, "O'Rourke Clodagh-corour01" :
>
>    import os
>    os.environ['VARIABLE'] = 'value'
>
>

Works for me.... but if you change it to paren then you get the error
below.

>I'm trying to set environment variables in a GSM network environment I tried 
>
>os.environ['VARIABLE'] = 'value'
>
>And I got.....
>
>SyntaxError: can't assign to function call 
>




More information about the Python-list mailing list