摘要: 目录fixture 的并列与嵌套调用并列使用fixture嵌套调用fixture嵌套调用获取 fixture 返回值 fixture 的并列与嵌套调用 常用场景:相互依赖的fixture 可能是多个,或提前准备的数据也可能是多个,或数据准备也可能有依赖或先后 并列使用fixture @pytest. 阅读全文
posted @ 2024-06-25 21:00 chuangzhou 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 报错: E playwright._impl._errors.Error: Locator.set_checked: Error: strict mode violation: locator("//td[@class=\"el-table_1_column_1 is-center el-table 阅读全文
posted @ 2024-06-21 14:26 chuangzhou 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 目录入门处理弹窗frame 入门 1.安装 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple playwright # 安装浏览器驱动 playwright install from time import sleep from play 阅读全文
posted @ 2024-06-19 15:27 chuangzhou 阅读(1) 评论(0) 推荐(0) 编辑
摘要: # FA存在3D不存在建模的代码(1).txt EDLG-S1-M3-L12 有一个excel: 需求: 利用txt 中的代码去匹配execl 中的 调整后的规格型号,将匹配的数据保留,生成新的excel import pandas with open('FA存在3D不存在建模的代码(1).txt' 阅读全文
posted @ 2024-06-17 21:03 chuangzhou 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 这个语言功能不是什么秘密,只不过没有得到重视:else 子句不仅能在if 语句中使用,还可以在for、while 和 try 语句中使用。 for/else、while/else 和 try/else 的语义联系紧密,不过与if/else 差别很大。 else 子句的规则如下: for : 仅当fo 阅读全文
posted @ 2024-06-15 10:59 chuangzhou 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/680596253 阅读全文
posted @ 2024-06-10 20:23 chuangzhou 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 目录使用线程实现旋转指针使用进程实现旋转指针使用协程实现旋转指针自建进程池 使用线程实现旋转指针 import itertools import time from threading import Thread, Event def spin(msg: str, done: Event) -> N 阅读全文
posted @ 2024-05-26 21:29 chuangzhou 阅读(2) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/478367689 https://blog.csdn.net/LaoYuanPython/article/details/93091835 阅读全文
posted @ 2024-05-21 22:08 chuangzhou 阅读(1) 评论(0) 推荐(0) 编辑
摘要: https://huaweicloud.csdn.net/638f1233dacf622b8df8e834.html?dp_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MzcwMzA0NCwiZXhwIjoxNzE2ODU5ODY2LCJpY 阅读全文
posted @ 2024-05-21 09:36 chuangzhou 阅读(10) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_41147796/article/details/135838040 阅读全文
posted @ 2024-05-20 21:56 chuangzhou 阅读(2) 评论(0) 推荐(0) 编辑