Predefined Variables

Fred Atkinson fatkinson at
Sun Aug 2 03:56:33 CEST 2009

On Thu, 23 Jul 2009 15:28:50 +0200, "Diez B. Roggisch"
<deets at> wrote:

>Fred Atkinson wrote:
>> Is there a pre-defined variable that returns the GET line
>> ( as a
>> single variable (rather than individual variables)?
>Variables don't return things. Functions do. And additionally the answer
>depends on what and with what you actually do.

	I want to display the client browser's IP address on the Web

	I'd like to create a variable like this: ip = somefunction(). 
	Then I can print the IP address on the Web page and/or log it
in an error file.  


More information about the Python-list mailing list