how can I find out the value of an environment variable?

MonkeeSage MonkeeSage at gmail.com
Mon Mar 5 22:45:38 EST 2007


On Mar 5, 8:22 pm, "ken" <ken.carl... at gmail.com> wrote:
> how can I find out the value of an environment variable in my pythong
> script?
>
> Thank you.

RTFM...

os.getenv
http://docs.python.org/lib/os-procinfo.html

Regards,
Jordan




More information about the Python-list mailing list