On Tue, Jul 7, 2009 at 6:45 PM, Fred Atkinson<[email protected]> wrote: > Is there a Python function I can use to get the user's IP > address so I can display it on his browser?
from socket import gethostname, gethostbyname ip = gethostbyname(gethostname()) Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list
