摘要: requests.exceptions.SSLError: HTTPSConnectionPool(host='www.baidu.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, u' 阅读全文
posted @ 2018-08-26 00:43 不再悲伤 阅读(30899) 评论(0) 推荐(4) 编辑
摘要: 我发现文件直接用requests.get(url)会提示我AttributeError: module 'requests' has no attribute 'get' 我把问题百度了一下,解决方法是: python源文件与关键字重名了。 1. 命名py脚本时,不要与python预留字,模块名等相 阅读全文
posted @ 2018-08-26 00:34 不再悲伤 阅读(6221) 评论(0) 推荐(1) 编辑