摘要: import jsonpath,requests,nnlog,yagmail 1.jsonpath的用法 print(jsonpath.jsonpath(res,'$..sign')) # 快速定位目标字典中目标key,有则返回结果,没有则返回False 2.nnlog log = nnlog.Lo 阅读全文
posted @ 2019-11-06 14:00 面包树下的路人 阅读(128) 评论(0) 推荐(0) 编辑
摘要: import requests get请求url = 'http://api.nnzhp.cn/api/user/stu_info'data = {'stu_name':'wyj'}res = requests.get(url,data).textprint(res) res.content # 代 阅读全文
posted @ 2019-11-06 11:01 面包树下的路人 阅读(239) 评论(0) 推荐(0) 编辑