04 2020 档案

摘要:http://idea.medeming.com/jihuoma/ 阅读全文
posted @ 2020-04-27 16:19 mkay 阅读(1382) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/ywk_hax/article/details/82633542 find_element():查找一个元素 find_elements():查找多个元素并返回一个列表 阅读全文
posted @ 2020-04-26 17:18 mkay 阅读(2603) 评论(0) 推荐(0)
摘要:1、打开pycharm的terminal,到 requirements.txt 所在的目录下,使用如下命令 ,就能在当前的 python 环境中导入所有需要的包 pip3 install -r requirements.txt 2、打开pycharm的terminal,到 requirements. 阅读全文
posted @ 2020-04-23 14:52 mkay 阅读(929) 评论(0) 推荐(0)
摘要:写入的数据前加上str(),转成str格式 阅读全文
posted @ 2020-04-20 17:06 mkay 阅读(10005) 评论(0) 推荐(0)
摘要:import json python转为json:json.dumps(obj) json转为python:json.loads(obj) import json """ json python [] : json中的数组 列表 list {} : json中的对象 字典dict true True 阅读全文
posted @ 2020-04-18 23:49 mkay 阅读(1626) 评论(0) 推荐(0)
摘要:webservice接口:一个url下包含多个接口,返回数据为xml文档 安装模块 pip install suds-jurko from suds import client url = "https://xxxxxx" cli = client.Client(url=url) # 查看该webs 阅读全文
posted @ 2020-04-18 23:26 mkay 阅读(573) 评论(0) 推荐(0)
摘要:# 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 阅读(5385) 评论(0) 推荐(0)
摘要:在代码上方加上:# coding:utf-8 阅读全文
posted @ 2020-04-18 19:00 mkay 阅读(4952) 评论(0) 推荐(2)
摘要:参考: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 阅读(10999) 评论(0) 推荐(0)
摘要:http://www.lemfix.com/topics/960 阅读全文
posted @ 2020-04-12 18:10 mkay 阅读(462) 评论(0) 推荐(0)
摘要:正常下载版: 启动: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 阅读(205) 评论(0) 推荐(0)
摘要:参考: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 阅读(988) 评论(0) 推荐(0)
摘要:1、在请求中加入verify=False,关闭认证 解决requests.exceptions.SSLError 2、添加代码 解决InsecureRequestWarning import urllib3 urllib3.disable_warnings(urllib3.exceptions.In 阅读全文
posted @ 2020-04-07 15:09 mkay 阅读(1854) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_35428201/article/details/81508309 阅读全文
posted @ 2020-04-07 13:50 mkay 阅读(3401) 评论(1) 推荐(1)
摘要:import rere模块findall:查找所有符合规范的数据第一个参数:匹配规则第二个参数:被查找的字符串返回值:list:所有符合规范的数据 # 单字符: s2 = "111\naaa" # . 表示除\n之外的任意字符 res2 = re.findall(".",s2) print(res2 阅读全文
posted @ 2020-04-04 20:37 mkay 阅读(297) 评论(0) 推荐(0)