摘要: 1 阅读全文
posted @ 2020-05-21 14:46 反着来就对了 阅读(271) 评论(0) 推荐(0)
摘要: 我们想要进行精准搜索,无非就是增加筛选条件。 in:name xxx // 按照项目名搜索in:readme xxx // 按照README搜索in:description xxx // 按照description搜索 那么在这里面呢,我们又可以增加筛选条件 stars:>xxx // stars数 阅读全文
posted @ 2020-05-15 13:51 反着来就对了 阅读(147) 评论(0) 推荐(0)
摘要: 1. pytest的安装: 1.1. windows下: pip install pytest 1.2. linux下: pip install pytest 2. 安装pytest-allure-adaptor插件 2.1. windows下: pip install pytest-allure- 阅读全文
posted @ 2020-05-07 16:27 反着来就对了 阅读(236) 评论(0) 推荐(0)
摘要: import pandas as pd from openpyxl import load_workbook class DoExcel: #第一种 读取所有sheet # def get_data(self,filename): # wb =load_workbook(filename) # mo 阅读全文
posted @ 2020-04-24 13:34 反着来就对了 阅读(348) 评论(0) 推荐(0)
摘要: split():拆分字符串。通过指定分隔符对字符串进行切片,并返回分割后的字符串列表(list) #字符串的切片 s = " abcd defg" #前面有一个空格字符 #字符串的分割 .split() 返回一个列表类型的数据,列表里的子元素都是字符串类型 print(s.split()) prin 阅读全文
posted @ 2020-04-23 10:41 反着来就对了 阅读(190) 评论(0) 推荐(0)
摘要: pandas 基础 Pandas 第1行为title,所以数据时从第二行开始读,第二行为第0行,第一列是第0列,要和openpyxl区分 df = pd.read_excel("test_data.xlsx") #读取EXCEL,默认读第0列 df = pd.read_excel("test_dat 阅读全文
posted @ 2020-04-23 00:06 反着来就对了 阅读(258) 评论(0) 推荐(0)
摘要: import xlrd def read_excel(): #打开文件 sheet = xlrd.open_workbook(r"D:\jiekou\dataconfig\case1.xls") #获取所有sheet print(sheet.sheet_names()) sheet2_name = 阅读全文
posted @ 2020-04-21 16:32 反着来就对了 阅读(183) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/lingyejun/p/9282169.html 阅读全文
posted @ 2020-04-17 14:54 反着来就对了 阅读(78) 评论(0) 推荐(0)
摘要: 问题: 为了测试,写的sever,下面仅为set cookie的部分代码 1 2 3 response = make_response('{"code":9420, "msg":"恭喜%s,登录成功","token":"%s"}'%(username, token)) response.set_co 阅读全文
posted @ 2020-04-16 10:13 反着来就对了 阅读(5401) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/falseen/article/details/46962011 阅读全文
posted @ 2020-04-16 08:48 反着来就对了 阅读(1338) 评论(0) 推荐(0)