安装 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)
安装 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)
在利用selenium进行UI自动化测试过程中,经常会遇到下拉框选项,这篇博客,就介绍下如何利用selenium的Select模块来对标准select下拉框进行操作。。。
遍历数据有以下三种方法:

在获取窗口位置时,使用spy++查找得到的窗口得到的边框十分准确,但当我使用win32gui.GetWindowRect()得到矩形边框时,却发现窗口小了许多。
Win32gui:Windows图形界面接口模块。主要负责操作窗口切换以及窗口中元素id标签的获取
Win32api:Windows开发接口模块。主要负责模拟键盘和鼠标操作,对win32gui获取的标签进行点击/获取值/修改值等操作
Win32con:全面的库函数,提供Win32gui和Win32api需要的操作参数
openpyxl(可读写excel表)专门处理Excel2007及以上版本产生的xlsx文件,xls和xlsx之间转换容易。注意:如果文字编码是“gb2312”,读取后就会显示乱码,请先转成Unicode。
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.
Keys类中提供了几乎所有的键盘事件,在鼠标事件中用到了两个键盘事件,键盘的向下按键(send_keys(Keys.DOWN))和键盘的回车事件(send_keys(Keys.ENTER))。键盘的事件需要导入Keys模块