当前位置:首页 > Python

详解python的xlwings库读写excel操作总结

lonely2年前 (2022-04-15)578
详解python的xlwings库读写excel操作总结
 一、总结...

python获取基础路径供其他模块导入

lonely3年前 (2021-06-24)527
python获取基础路径供其他模块导入
# 文件1:获取基础路径,供其他文件导入,当前文件是conf/settings.py文件 import os base_path = os.path.d...

python-selenium弹框处理driver.switch_to.alert

lonely3年前 (2021-06-24)475
python-selenium弹框处理driver.switch_to.alert
...

返回当前时间及格式化已使用时间

lonely3年前 (2021-06-24)487
返回当前时间及格式化已使用时间
import time import datetime # 格式化输出使用时间 class Farmat_time():   &...

将print输出的内容保存到txt文件中

lonely3年前 (2021-06-24)483
将print输出的内容保存到txt文件中
# 将print输出的内容保存到txt文件中 class Logger(object):     def __init__...

python-selenium设置webdriver隐藏浏览器运行及不加载图片

lonely3年前 (2021-06-24)469
python-selenium设置webdriver隐藏浏览器运行及不加载图片
from selenium import webdriver # 设置无界面 opt = webdriver.ChromeOpt...

locustio安装失败,提示: ERROR: Command errored out with exit status 1:

lonely3年前 (2021-01-20)584
locustio安装失败,提示: ERROR: Command errored out with exit status 1:
使用pip install locustio 和 pip install -i https://pypi.douban.com/simple locustio 安装时均失败,提示:C:\Us...

启动Robot Framework时,运行ride.py报错:wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NU

lonely3年前 (2020-12-15)412
启动Robot Framework时,运行ride.py报错:wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NU
进入Python目录下\lib\site-packages\robotide\application\目录,打开application.py文件在第50行,将self._initial_locale...

Robot Framework安装教程

lonely3年前 (2020-12-15)458
Robot Framework安装教程
    Robot Framework是一个基于Python的,可扩展的关键字驱动的测试自动化框架,用于端到端验收测试和验收测试驱动开发(ATDD)。它可用于测试分布式异...