摘要: import csv, xlrddef read_csv(x, y, file_name=''): rows = [] with open(file_name, 'rb') as f: reads = csv.reader(f, dialect=',', quotechar='|') next(re 阅读全文
posted @ 2020-03-28 19:54 千年妖狐 阅读(181) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-03-28 19:52 千年妖狐 阅读(0) 评论(0) 推荐(0)
摘要: import uiautomator2 as u2# 安装weditor 来找元素# pip install --pre weditor# python -m weditor 初始化# pip install --pre uiautomator2# pip install pillow# pytho 阅读全文
posted @ 2020-03-28 19:51 千年妖狐 阅读(1122) 评论(0) 推荐(0)
摘要: import uiautomation, time, os, random# 借助 inspect。exe 工具定位def cal_test(): os.system('calc.exe') time.sleep(2) cal = uiautomation.WindowControl(Name='计 阅读全文
posted @ 2020-03-28 19:47 千年妖狐 阅读(548) 评论(0) 推荐(0)