1 2 3 4 5 ··· 14 下一页
摘要: 问题: cmd下输入robot --help也报同样的错 解决办法1:把robot -P 换成 python -m robot.run -P 可以解决 解决办法2:可能是pip版本的问题,执行命令更新到最新版本,python -m pip install --upgrade pip 没用!!! 解决 阅读全文
posted @ 2023-01-17 17:22 wind_y 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-07-11 11:29 wind_y 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1、pycharm配置git(电脑已安装git) 打开pycharm,在File->setting->Version Control->Git->Path to Git exetuable,选择git程序所在位置,点击应用。 2、远程连接gitlab仓库 Pycharm->VCS->checkout 阅读全文
posted @ 2022-07-11 11:16 wind_y 阅读(785) 评论(0) 推荐(0) 编辑
摘要: 安装:pip install locust 查看是否安装成功:locust --version 阅读全文
posted @ 2022-05-18 21:18 wind_y 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 国内git镜像网站:https://npm.taobao.org/mirrors/git-for-windows/ 底部是最新的版本 windows64位:下载这个 阅读全文
posted @ 2022-05-15 20:53 wind_y 阅读(7) 评论(0) 推荐(0) 编辑
摘要: def post(url, data=None, json=None, **kwargs):post请求中data&json的传参问题用data参数提交数据时,request.body的内容则为a=1&b=2的这种形式;用json参数提交数据时,request.body的内容则为'{"a": 1, 阅读全文
posted @ 2022-02-12 16:58 wind_y 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 两种方法:str()以及json.dumps() 注意:单引号双引号的区别 str方法将其变为单引号,json.dumps方法仍是双引号!!!! 初始字典为双引号 import json d={"name":"lisa","gender":"male"} print(type(d)) str_d=s 阅读全文
posted @ 2022-02-12 14:42 wind_y 阅读(3631) 评论(0) 推荐(0) 编辑
摘要: 问题:pip install安装的库在pycharm中不可用 1.File——>Settings——>项目名称下的Project Interpreter 这里是pycharm安装的第三方库 2.点击螺母图标,点击add 3.添加python环境(python的安装路径 python.exe) 4.添 阅读全文
posted @ 2021-12-23 15:17 wind_y 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 原因:pycharm中运行robot自动化脚本报错,识别不到python,应该是因为python安装目录中有空格 python原来的安装目录:C:\Program Files\Python37 转移python安装目录 1.剪切python包,移动到D:\software目录下 2.修改环境变量 p 阅读全文
posted @ 2021-12-23 11:19 wind_y 阅读(893) 评论(0) 推荐(0) 编辑
摘要: 1.检查自己的chrome版本 2.下载对应版本的chromedriver(只对应大版本就行) chromedriver版本下载地址:http://chromedriver.storage.googleapis.com/index.html 下载32位的: 3.解压文件,将chromedriver. 阅读全文
posted @ 2021-12-22 15:31 wind_y 阅读(234) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 14 下一页