server wide variables

Stephen R Laniel steve at laniels.org
Mon Jun 25 11:38:11 EDT 2007


On Mon, Jun 25, 2007 at 03:29:25PM -0000, Jay Sonmez wrote:
> I want to be able to save some server variables as long as Apache runs
> on the server (mod_python).
> 
> How is that possible in Python?

Would setting environment variables help you? You'd use
os.environ.
http://docs.python.org/lib/os-procinfo.html

-- 
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key



More information about the Python-list mailing list