simplest method for machines connected to internet willing to retrieve their external ip:
print urllib2.urlopen('http://icanhazip.com/').read()
simplest method for machines connected to internet willing to retrieve their external ip:
print urllib2.urlopen('http://icanhazip.com/').read()