会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
OTAKU_nicole
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
24
下一页
2021年6月11日
tomorrow多线程启动
摘要: import time from tomorrow import threads @threads(3) def print_thread(i): time.sleep(2) print(time.strftime("%H:%M:%S"),i,"执行完毕") list = { 'AAA', 'BBB
阅读全文
posted @ 2021-06-11 16:59 OTAKU_nicole
阅读(76)
评论(0)
推荐(0)
2021年6月3日
request接口下载附件
摘要: import requests url = 'https://www.***.com/downloadFile' r = requests.get(url) fp = open("test.xls", "wb") fp.write(r.content) fp.close() cookie略,根据实际
阅读全文
posted @ 2021-06-03 16:36 OTAKU_nicole
阅读(222)
评论(0)
推荐(0)
request接口上传附件
摘要: 抓到页面请求可以看到这些,使用files,cookie省略,根据实际情况添加 import requests url = "https://www.***.com/uploadExcel.json" # => 打开上传文件并且加入文件相关参数 file = { 'excel': open(r'C:\
阅读全文
posted @ 2021-06-03 14:53 OTAKU_nicole
阅读(246)
评论(0)
推荐(0)
2021年5月27日
python字符串转字典
摘要: import json str_Detail = '{"rowOne":"A","rowTwo":"B","rowThree":"C"}' print(str_Detail, type(str_Detail)) ''' {"rowOne":"A","rowTwo":"B","rowThree":"C
阅读全文
posted @ 2021-05-27 14:06 OTAKU_nicole
阅读(152)
评论(0)
推荐(0)
2021年5月21日
chrome浏览器开启了提示保存密码,但仍没有保存密码的处理方法
摘要: 解决方案: 打开chrome浏览器的安装目录..\Google\Chrome\User Data\Default 删除Login Data , Login Data-journal两个文件 重启浏览器即可
阅读全文
posted @ 2021-05-21 13:39 OTAKU_nicole
阅读(4765)
评论(1)
推荐(0)
2021年5月13日
ImportError: cannot import name 'PortScanner' from 'nmap'
摘要: 由于之前测试环境坏了,重新安装碰到一些问题 ImportError: cannot import name 'PortScanner' from 'nmap' 解决方案,先卸载nmap、python-nmap、PortScanner后重新安装python-nmap==0.6.1 (版本没有仔细研究过
阅读全文
posted @ 2021-05-13 09:49 OTAKU_nicole
阅读(215)
评论(0)
推荐(0)
xlrd.biffh.XLRDError: Excel xlsx file; not supported
摘要: xlrd版本问题,xlsx另存为xls可暂时解决
阅读全文
posted @ 2021-05-13 09:48 OTAKU_nicole
阅读(56)
评论(0)
推荐(0)
2021年4月29日
Jenkins启动
摘要: 启动:net start jenkins 停止:net stop jenkins
阅读全文
posted @ 2021-04-29 10:57 OTAKU_nicole
阅读(58)
评论(0)
推荐(0)
2021年4月28日
python自动化测试——Git+Jenkins配置(四)自动发送邮件
摘要: Git+Jenkins配置(一)环境搭建 Git+Jenkins配置(二)jenkins中通过git拉取代码 Git+Jenkins配置(三)配置HTML报告 Git+Jenkins配置(四)自动发送邮件 输入邮箱配置后保存 修改任务配置 增加构建后操作步骤-Editable Email Notif
阅读全文
posted @ 2021-04-28 15:37 OTAKU_nicole
阅读(199)
评论(0)
推荐(0)
python自动化测试——Git+Jenkins配置(三) 配置HTML报告
摘要: Git+Jenkins配置(一)环境搭建 Git+Jenkins配置(二)jenkins中通过git拉取代码 Git+Jenkins配置(三)配置HTML报告 Git+Jenkins配置(四)自动发送邮件 需要先安装两个插件Groovy、HTML Publisher plugin 修改配置 增加构建
阅读全文
posted @ 2021-04-28 15:08 OTAKU_nicole
阅读(128)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
24
下一页
公告