不灭的焱

革命尚未成功,同志仍须努力 下载Java21

作者:AlbertWen  添加时间:2022-03-12 00:35:47  修改时间:2026-04-29 02:14:15  分类:23.Python编程  编辑

安装 GreaterWMS,启动Django时,报错:

/usr/local/bin/daphne -p 8008 greaterwms.asgi:application

提示:

django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17)
作者:AlbertWen  添加时间:2022-02-25 10:18:31  修改时间:2026-04-27 14:09:22  分类:23.Python编程  编辑

在利用selenium进行UI自动化测试过程中,经常会遇到下拉框选项,这篇博客,就介绍下如何利用selenium的Select模块来对标准select下拉框进行操作。。。

作者:AlbertWen  添加时间:2022-01-16 23:48:13  修改时间:2026-04-30 05:03:16  分类:23.Python编程  编辑

遍历数据有以下三种方法:

作者:AlbertWen  添加时间:2021-10-07 13:44:48  修改时间:2026-04-23 03:03:08  分类:23.Python编程  编辑

在获取窗口位置时,使用spy++查找得到的窗口得到的边框十分准确,但当我使用win32gui.GetWindowRect()得到矩形边框时,却发现窗口小了许多。

作者:AlbertWen  添加时间:2021-10-07 12:42:39  修改时间:2026-04-30 13:01:20  分类:23.Python编程  编辑

Win32gui:Windows图形界面接口模块。主要负责操作窗口切换以及窗口中元素id标签的获取

Win32api:Windows开发接口模块。主要负责模拟键盘和鼠标操作,对win32gui获取的标签进行点击/获取值/修改值等操作

Win32con:全面的库函数,提供Win32gui和Win32api需要的操作参数

作者:AlbertWen  添加时间:2021-09-14 22:49:32  修改时间:2026-04-29 12:23:57  分类:23.Python编程  编辑

openpyxl(可读写excel表)专门处理Excel2007及以上版本产生的xlsx文件,xls和xlsx之间转换容易。注意:如果文字编码是“gb2312”,读取后就会显示乱码,请先转成Unicode。

作者:AlbertWen  添加时间:2021-09-01 18:38:35  修改时间:2026-04-24 20:16:21  分类:23.Python编程  编辑
作者:AlbertWen  添加时间:2021-08-14 23:11:50  修改时间:2026-04-27 13:15:52  分类:23.Python编程  编辑

Anaconda3 安装 mitmproxy 时报错:

pip install mitmproxy -i https://pypi.tuna.tsinghua.edu.cn/simple

ERROR: Cannot uninstall 'ruamel-yaml'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

作者:AlbertWen  添加时间:2021-08-06 14:57:34  修改时间:2026-04-30 11:25:37  分类:23.Python编程  编辑

Keys类中提供了几乎所有的键盘事件,在鼠标事件中用到了两个键盘事件,键盘的向下按键(send_keys(Keys.DOWN))和键盘的回车事件(send_keys(Keys.ENTER))。键盘的事件需要导入Keys模块

作者:AlbertWen  添加时间:2021-07-30 18:55:17  修改时间:2026-04-27 20:04:02  分类:23.Python编程  编辑