37,743
社区成员
发帖
与我相关
我的任务
分享
url = r'http://zqb.cyol.com'
html = urllib.urlopen(url).read()
import socket
socket.setdefaulttimeout(3)
try:
url = r'http://zqb.cyol.com'
html = urllib.urlopen(url).read()
try:
url = r'http://zqb.cyol.com'
html = urllib.urlopen(url).read()
except Exception, e:
print e