[2016-01-17][python][查询外网IP]
摘要:
[2016-01-17][python][查询外网IP]12345678910from urllib import request def GetIP():#直接打开http://ip.dnsexit.com/index.php进行IP查询 with request.urlopen("http://ip.dnsexit.com/index.php") as f: data = ... 阅读全文
posted @ 2016-01-17 23:15 红洋 阅读(211) 评论(0) 推荐(0)
浙公网安备 33010602011771号