from requests.packages.urllib3.exceptions import InsecureRequestWarning
禁用安全请求警告
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
import warnings
warnings.filterwarnings("ignore")
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
import warnings
warnings.filterwarnings("ignore")
本文标题:python 禁用安全警告方式
本文链接:https://www.haomeiwen.com/subject/lfcelqtx.html
网友评论