python 3.3.2报错:No module named 'urllib2'
python代码:
import urllib2
response = urllib2.urlopen('http://www.baidu.com/')
html = response.read()
print html
报错如下:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import urllib2
ImportError: No module named 'urllib2'
我下载的是最新版的,3.3.2
喵美的内裤
11 years, 1 month ago