disable warnings messages

import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning

requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

posted @ 2018-06-06 17:30  testForever  阅读(176)  评论(0编辑  收藏  举报