Python3-问题整理

Posted atesetenginner

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Python3-问题整理相关的知识,希望对你有一定的参考价值。

Https相关

技术图片
1 1 requests发送HTTPS
2 2 前提:verify=False
3 3 报错:InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
4 4 解决:
5 5 import urllib3
6 6 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
7 7 
8 8 多线程 - connectionpool.py https请求 InsecureRequestWarning
9 9 解决:注释掉connectionpool.py的845-851行
View Code

 

以上是关于Python3-问题整理的主要内容,如果未能解决你的问题,请参考以下文章

python3.7 初学整理

python2与python3的区别齐全整理

[编程 | Phthon | 02] Python3常用算法整理

Python2与Python3的区别详解整理

Python3自学速查手册,324页内容,最全知识整理

Python3自学速查手册,324页内容,最全知识整理