摘要: 目录: 数据xlsx 读取数据的文件data.py: import xlrd """ xlrd.open_workbook 打开excel文件 sheets()#读取所有sheet表 sheets[index] #读取指定工作表 nrows:所有行数 col_values(i)#读取指定列的所有数据 阅读全文
posted @ 2019-11-29 16:14 wakey 阅读(203) 评论(0) 推荐(0) 编辑
摘要: runner.py脚本 import unittest from HTMLTestRunner import HTMLTestRunner import time import datetime from test_project.send_mail import send_call pt='./' 阅读全文
posted @ 2019-11-29 16:09 wakey 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 一、需要安装的包 1、安装python 2、安装pycharm 3、在pycharm中配置python解释器 1)首先打开pycharm工具,选择File中的Setting选项 2)找到“Project Interpreters”,然后在该对话框中点击“Project Interpreter”选项 阅读全文
posted @ 2019-11-29 09:38 wakey 阅读(729) 评论(0) 推荐(0) 编辑