三种方法怎么都不行呢 我还加了UTF-8等头呢
老师讲的应该是python2.7的吧 我的环境也是啊 怎么不行呢 第一种: Traceback (most recent call last): File "C:\Users\siwux\Desktop\download_1.py", line 7, in
response = urllib2.urllib2.urlopen("http://www.baidu.com/") AttributeError: 'module' object has no attribute 'urllib2'