[Tutor] need a way to get my own ip address
titleistfour at gmail.com
Wed Jan 2 15:31:39 CET 2008
You could perhaps use this method
myIP = socket.gethostbyaddr(socket.gethostname())
On Jan 2, 2008 8:25 AM, shawn bright <nephish at gmail.com> wrote:
> i am looking for an easy way to get my own ip address as a string from
> I am using Ubuntu Linux if that makes any difference.
> thanks !
> Tutor maillist - Tutor at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor