python3报错:No module named 'urllib2'

Python 3.3以后,urllib2改成urllib.response Python 2.7 代码:html import urllib2 response = urllib2.urlopen('http://www.baidu.com/') html = response.read() print html Python 3.3+ 代码应该为:python import urll
相关文章
相关标签/搜索