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) ? >> >> <http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/162994>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/162994 >> >> >> import >> win32api raise the error "module not exsit"
http://sourceforge.net/projects/pywin32/ >> and >> socket.gethostbyname(name)the router doesn't have a hostname. use the hostname you create on noip.com or dyndns.com etc. Cameron. -- http://mail.python.org/mailman/listinfo/python-list