Python to tell what is the IP of my PC .
cameron.walsh at gmail.com
Thu Nov 9 03:37:04 CET 2006
Gabriel Genellina wrote:
> At Wednesday 8/11/2006 21:18, Nicolas G wrote:
>> > How can I use python to get the real IP address of my DSL router (when
>> > my PC is part of the local home LAN) ?
>> win32api raise the error "module not exsit"
>> socket.gethostbyname(name)the router doesn't have a hostname.
use the hostname you create on noip.com or dyndns.com etc.
More information about the Python-list