AttributeError: module 'urllib.request' has no attribute 'urlopen'
from urllib import request import http.cookiejar url = 'http://www.baidu.com' print('第一种方法:') response1 = request.urlopen(url) print(response1.getcode()) print(len(response1.read())) 我的这么写会报错(AttributeError: module 'urllib.request' has no attribute 'urlopen')有大神帮看看吗?