报错:module 'urllib' has no attribute 'request'解决办法:
然后查找原因,据说python3有时候不会将子模块自动导入进去,所以前面加上:(亲测可行)
import urllib.request
module 'urllib' has no attribute 'request'的解决方法
阅读 79
2022-05-31
报错:module 'urllib' has no attribute 'request'解决办法:
然后查找原因,据说python3有时候不会将子模块自动导入进去,所以前面加上:(亲测可行)
import urllib.request
相关推荐
精彩评论(0)