文章详情
时间:2010-12-28 来源:kevin33643
#!/usr/bin/env python # -*- coding:gb2312 -*- import urllib2 import re from subprocess import Popen, PIPE print "private network IP: " + re.search('\d+\.\d+\.\d+\.\d+', Popen('ipconfig', stdout=PIPE).stdout.read()).group(0) print "public network IP: " + re.search('\d+\.\d+\.\d+\.\d+', urllib2.urlopen("http://www.whereismyip.com").read()).group(0)
找茬脑洞的世界安卓版
滑板英雄跑酷2手游
披萨对对看下载
1970-01-01