问题1:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 1726: ordinal not in range(128)
在python2.*字符集编码utf-8遇到的问题,网上的解决方法:
import sys
reload(sys)
sys.setdefaultencoding('utf8')
-------------------------------------------------------------------------------------------------------------------------------------------------
问题2:urllib2 访问网络时,[Errno 10060]
出现网络联机错误Socket error #10060 Connection Timed Out
表示您与服务器发生联机逾时错误,请检查您的Proxy相关设定,以及Proxy Server是否已将SSL 443 port打开