上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页
摘要: #!/user/bin/python3#coding=utf-8#2019/10/22 --16:15#author :huiURL = "http://localhost/&" #后期读取配置文件dicts = {"method":"get",'body': '123456', 'headers' 阅读全文
posted @ 2019-10-22 17:23 yanhuidj 阅读(480) 评论(0) 推荐(0) 编辑
摘要: import xlrd,jsondef open(): file = r'C:\Users\hui\Desktop\data.xlsx' # 创建data对象 data = xlrd.open_workbook(file) ck = data.sheet_by_index(0) rows = ck. 阅读全文
posted @ 2019-10-22 15:43 yanhuidj 阅读(189) 评论(0) 推荐(0) 编辑
摘要: #!/user/bin/python3#coding=utf-8#2019/10/20 --13:17#author :huiimport json,requests#封装 get和post方法class Method: #post 方法 def post(self,url,body,headers 阅读全文
posted @ 2019-10-21 16:13 yanhuidj 阅读(272) 评论(0) 推荐(0) 编辑
摘要: import logging# 创建logger 对象logger = logging.getLogger()#设置log级别logger.setLevel(logging.DEBUG)# 保存到当前目录logfile = './log.txt'#a表示追加fh = logging.FileHand 阅读全文
posted @ 2019-10-21 14:16 yanhuidj 阅读(238) 评论(1) 推荐(0) 编辑
摘要: #!/user/bin/python3#coding=utf-8#2019/10/21 --10:04#author :huiimport xlrdfile = r'C:\Users\hui\Desktop\data.xlsx'data = xlrd.open_workbook(file) # 创建 阅读全文
posted @ 2019-10-21 10:56 yanhuidj 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-10-16 16:01 yanhuidj 阅读(192) 评论(1) 推荐(0) 编辑
摘要: 更多详细见https://www.jianshu.com/p/8026fd508ef8 阅读全文
posted @ 2019-10-16 11:21 yanhuidj 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/qq_22795513/article/details/74590956?utm_source=bbsseo 及其他贡献值 App crash(全称Application crash) 潜水 分为:对于Crash可分为Framework/App Cr 阅读全文
posted @ 2019-10-12 16:30 yanhuidj 阅读(157) 评论(1) 推荐(0) 编辑
摘要: 1. 2. 阅读全文
posted @ 2019-09-28 17:15 yanhuidj 阅读(328) 评论(0) 推荐(0) 编辑
摘要: from:https://www.jb51.net/article/153889.html import json # 使用三引号将浏览器复制出来的requests headers参数赋值给一个变量 headers = """ Host: zhan.qq.com Proxy-Connection: 阅读全文
posted @ 2019-09-28 17:01 yanhuidj 阅读(1100) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页