Python+requests+openpyxl处理HTTP请求的方法
目录结构:
excel文件:login.xlsx
使用openpyxl读取excel文件,并且将读到的数据保存在数组中,数据以字典的格式存储:
HttpRequests请求方法:
测试类:
写入结果的excel:
目录结构:
excel文件:login.xlsx
使用openpyxl读取excel文件,并且将读到的数据保存在数组中,数据以字典的格式存储:
HttpRequests请求方法:
测试类:
写入结果的excel: