IP Address Function

Tim Harig usernet at ilthio.net
Tue Jul 7 20:59:05 EDT 2009


On 2009-07-08, Fred Atkinson <fatkinson at mishmash.com> wrote:
> 	Is there a Python function I can use to get the user's IP
> address so I can display it on his browser?  

If you are using CGI you can get it from the REMOTE_ADDR environmental
variable.



More information about the Python-list mailing list