Predefined Variables

Scott David Daniels Scott.Daniels at Acm.Org
Sun Aug 2 17:11:22 CEST 2009

Piet van Oostrum wrote:
>>>>>> Scott David Daniels <Scott.Daniels at Acm.Org> (SDD) wrote:
>> SDD> Stephen Cuppett (should have written in this order):
>>>> "Fred Atkinson" <fatkinson at> wrote ...
>>>>> Is there a pre-defined variable that returns the GET line...
>>>> os.environment('QUERY_STRING')
>> SDD> Maybe you mean:
>> SDD>     os.environ['USER']
> Let's take the best of both:
> os.environ['QUERY_STRING']

Sorry about that.  I was testing expression before posting, and I don't
do that much cgi stuff.  I forgot to restore the variable name.

--Scott David Daniels
Scott.Daniels at Acm.Org

More information about the Python-list mailing list