AttributeError: module 'urllib.request' has no attribute 'bulid_opener'
from urllib import request#构建处理器对象(专门处理请求的对象)http_hander=request.HTTPHandler()#创建自定义openeropener=request.bulid_opener(http_hander)#创建自定义请求对象req=request.Request(“http://www.baidu.com”)reponse=o...
原创
2019-10-08 11:20:27 ·
1268 阅读 ·
0 评论