[Tutor] Env Vars

Kyle Babich Kyle Babich" <kb@kb5.org
Tue, 2 Jul 2002 20:51:17 +0000


How do I use it, find out what variables it includes?
Also, how do I get raw_input to work in a browser?

On Tue, 02 Jul 2002 14:43:37 -0400, "Lloyd Kvam"
<pythontutor@venix.com> said:
> os.environ is a dictionary containing your environment names and
> values.
> 
> Also the cgi.test function will provide a great deal of information if
> you are still working on cgi scripts.
> 
> Kyle Babich wrote:
> 
> > How do environment variables work in python?  I couldn't seem to find
> > documentation for this either.
> > 
> > Thanks,
> > Kyle
> > 
> > 
> > _______________________________________________
> > Tutor maillist  -  Tutor@python.org
> > http://mail.python.org/mailman/listinfo/tutor
> > 
> > 
> 
> 
> -- 
> Lloyd Kvam
> Venix Corp.
> 1 Court Street, Suite 378
> Lebanon, NH 03766-1358
> 
> voice: 
> 603-443-6155
> fax: 
> 801-459-9582
> 
> 
> 
> 
>