石头场
pgt112you_cu
全部博文(67)
Django(10)
2011年(10)
2010年(28)
2009年(29)
imchacal
qq362477
分类: Python/Ruby
2011-08-10 11:42:45
#coding:utf-8 import os, urllib, socket socket.setdefaulttimeout(2) try: output = urllib.urlopen("") print "interface ok." except: print "error"
上一篇:python得到某个时间的时间戳
下一篇:python print不换行的替代方法
登录 注册