Python Enviroment Variables

Miki Tebeka miki.tebeka at zoran.com
Thu Sep 9 09:28:06 CEST 2004


Hello Ruchika,

> How can i get/set environment variables in Python? I am trying to run
> Perforce commands from Python script but am unsuccesful. Want to make
> sure that Perforce is in the path. How can I get/set the
> Environment/Path variables from within the script?
http://docs.python.org/lib/os-procinfo.html

Reading the documentation is helpful ;-)

Bye.
--
------------------------------------------------------------------------
Miki Tebeka <miki.tebeka at zoran.com>
http://tebeka.spymac.net
The only difference between children and adults is the price of the toys



More information about the Python-list mailing list