Determine ip address

codecraig codecraig at gmail.com
Fri Apr 15 09:03:06 EDT 2005


hi,
   how can i use python to figure the ip address of the machine which
the python script is running on?  I dont mean like 127.0.0.1....but i
want the external IP address (such as ipconfig on windows displays).

any ideas??

THanks




More information about the Python-list mailing list