标签:
[2016-01-17][python][查询外网IP]1 2 3 4 5 6 7 8 | from urllib import request #直接打开http://ip.dnsexit.com/index.php进行IP查询 data = f.read(); IP = data[ 2 : - 1 ] print (IP); |
标签:
原文地址:http://www.cnblogs.com/qhy285571052/p/5138052.html