会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
mkay
111
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
27
下一页
2020年4月18日
python—遍历嵌套字典,获取json返回结果的所有key值
摘要: # coding:utf-8 import json key_list = [] def get_dict_allkeys(dict_a): """ 遍历嵌套字典,获取json返回结果的所有key值 :param dict_a: :return: key_list """ if isinstance
阅读全文
posted @ 2020-04-18 20:02 mkay
阅读(5256)
评论(0)
推荐(0)
编辑
SyntaxError: Non-UTF-8 code starting with '\xe5' in file 报错问题解决
摘要: 在代码上方加上:# coding:utf-8
阅读全文
posted @ 2020-04-18 19:00 mkay
阅读(4797)
评论(0)
推荐(2)
编辑
2020年4月13日
java—判断当前时间(天内)是否在两个时间段之间
摘要: 参考:https://blog.csdn.net/lihua5419/article/details/80625114 当前时间:15:00,判断是否在3:00到16:00之间 import java.util.Date; import java.text.SimpleDateFormat; pub
阅读全文
posted @ 2020-04-13 15:06 mkay
阅读(10910)
评论(0)
推荐(0)
编辑
2020年4月12日
python——测试用例执行完毕之后发送邮件
摘要: http://www.lemfix.com/topics/960
阅读全文
posted @ 2020-04-12 18:10 mkay
阅读(449)
评论(0)
推荐(0)
编辑
jenkins启动、安装、配置、运用
摘要: 正常下载版: 启动:https://www.cnblogs.com/weizhideweilai/p/9250321.html 免安装版: 在cmd中, 进入家目录, 运行 java -jar jenkins.war --httpPort=8080 在浏览器中, 使用http://127.0.0.1
阅读全文
posted @ 2020-04-12 15:46 mkay
阅读(202)
评论(0)
推荐(0)
编辑
2020年4月9日
JsonPath表达式使用方法
摘要: 参考:https://www.cnblogs.com/aoyihuashao/p/8665873.html https://blog.csdn.net/jh1141233305/article/details/99459379 jsonpath调试网站:http://jsonpath.com/ 1、
阅读全文
posted @ 2020-04-09 15:15 mkay
阅读(920)
评论(0)
推荐(0)
编辑
2020年4月7日
python:接口请求中出现requests.exceptions.SSLError 和 InsecureRequestWarning的解决办法
摘要: 1、在请求中加入verify=False,关闭认证 解决requests.exceptions.SSLError 2、添加代码 解决InsecureRequestWarning import urllib3 urllib3.disable_warnings(urllib3.exceptions.In
阅读全文
posted @ 2020-04-07 15:09 mkay
阅读(1781)
评论(0)
推荐(0)
编辑
Pycharm提示Cannot Run Git的解决方法
摘要: https://blog.csdn.net/qq_35428201/article/details/81508309
阅读全文
posted @ 2020-04-07 13:50 mkay
阅读(3319)
评论(1)
推荐(1)
编辑
2020年4月4日
正则表达式的使用方法
摘要: import rere模块findall:查找所有符合规范的数据第一个参数:匹配规则第二个参数:被查找的字符串返回值:list:所有符合规范的数据 # 单字符: s2 = "111\naaa" # . 表示除\n之外的任意字符 res2 = re.findall(".",s2) print(res2
阅读全文
posted @ 2020-04-04 20:37 mkay
阅读(288)
评论(0)
推荐(0)
编辑
2020年3月31日
unittest中setUp、tearDown方法使用顺序
摘要: def setUp(self): """每条用例执行之前都会执行"""def tearDown(self): """每条用例执行之后都会执行"""@classmethoddef setUpClass(cls): """该测试用例类中,所有的用例执行之前,会执行"""@classmethoddef t
阅读全文
posted @ 2020-03-31 21:38 mkay
阅读(444)
评论(0)
推荐(0)
编辑
上一页
1
···
17
18
19
20
21
22
23
24
25
···
27
下一页
公告