摘要:
1.请求异常处理 请求异常类型: 请求超时处理(timeout): 实现代码: import requestsfrom requests import exceptions #引入exceptions A:请求超时 def timeout_request(): try: response = req 阅读全文
posted @ 2017-11-25 22:10
海布里Simple
阅读(3841)
评论(0)
推荐(0)
摘要:
1.抓log方法 (bat文件) mkdir D:\logcatset /p miaoshu=请描述操作:adb logcat -v threadtime > D:\logcat\%miaoshu%_%date:~0,4%-%date:~5,2%-%date:~8,2%_%time:~0,2%-%t 阅读全文
posted @ 2017-11-25 22:10
海布里Simple
阅读(612)
评论(0)
推荐(0)
摘要:
requests库官方使用手册地址:http://www.python-requests.org/en/master/;中文使用手册地址:http://cn.python-requests.org/zh_CN/latest/; requests库作者Kenneth Reitz个人主页:https:/ 阅读全文
posted @ 2017-11-25 22:09
海布里Simple
阅读(5395)
评论(0)
推荐(0)

浙公网安备 33010602011771号