会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
狂飙的老蜗牛
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
2020年10月13日
接口测试数据依赖处理
摘要: 1、抽取接口中的返回值存储到全局变量字典 if set_global_vars and isinstance(set_global_vars, list): for set_global_var in set_global_vars: if isinstance(set_global_var, di
阅读全文
posted @ 2020-10-13 09:58 狂飙的老蜗牛
阅读(400)
评论(0)
推荐(0)
2019年12月3日
pygame的安装
摘要: 高版本的python可以通过pip工具直接下载安装pygame包:pip install pygame 但是有些版本是不支持的,所以需要手动到官网去下载文件,手动安装 首先进入pygame的下载页面:http://www.pygame.org/download.shtml 具体安装见https://
阅读全文
posted @ 2019-12-03 20:10 狂飙的老蜗牛
阅读(236)
评论(0)
推荐(0)
2019年10月24日
pymysql模块:执行数据操作,pymysql.err.InternalError: (1054, "Unknown column '' in 'field list'")
摘要: sql语句出错 sql = "INSERT INTO table1(word) VALUES (%s)" % (str) 改为 "INSERT INTO table1(word) VALUES ('%s')" % (str) 只要是values里面的值,都需要加“”
阅读全文
posted @ 2019-10-24 10:58 狂飙的老蜗牛
阅读(6338)
评论(0)
推荐(1)
关于unittest框架的传参问题
摘要: 使用unittest框架进行自动化测试,传参很麻烦,所以需要改装一下 具体参考如下两篇博客 https://blog.csdn.net/hqzxsc2006/article/details/50125735 https://blog.csdn.net/weixin_42274149/article/
阅读全文
posted @ 2019-10-24 09:33 狂飙的老蜗牛
阅读(985)
评论(0)
推荐(0)
2019年9月14日
爬虫的框架:Scarpy
摘要: 1、新建Scrapy项目: 进入项目目录,按住shift,选择windows powershell,在弹出的窗口输入:scarpy startproject 项目名 2、新建爬虫案例: 在新建的项目根目录中,按住shift,选择windows powershell,在弹出的窗口输入:scrapy g
阅读全文
posted @ 2019-09-14 22:49 狂飙的老蜗牛
阅读(209)
评论(0)
推荐(0)
2019年9月7日
Robot Frameworke在python3上搭建环境以及快捷方式的创建
摘要: 环境搭建: 在搭建好了python3.6版本或者之上的python环境后 在dos命令输入 pip install robotframework 在线安装robotframework在dos命令输入 pip install Pypubsub==3.3.0 在线安装 Pypubsub在dos命令输入
阅读全文
posted @ 2019-09-07 19:09 狂飙的老蜗牛
阅读(424)
评论(0)
推荐(0)
安装第三方模块报错:read time out
摘要: 安装第三方模块超时,一般是由于网速或者下载源的问题,可以使用 pip --default-timeout=100 install -U 第三方库名 时间可以根据需要任意填写 或者换个时间段再次下载即可
阅读全文
posted @ 2019-09-07 19:02 狂飙的老蜗牛
阅读(662)
评论(0)
推荐(0)
2019年7月23日
操作正则表达式遇到的问题
摘要: 学习正则表达式,文件名为re.py
阅读全文
posted @ 2019-07-23 23:00 狂飙的老蜗牛
阅读(234)
评论(0)
推荐(0)
上一页
1
2
3
4
公告