摘要:
1、这个工具类支持post方法的表单请求和json请求,get的请求,用这个可以满足平时基本的接口测试 import requests import json from apitest.resquestsTests import datas_tests class requestsUtils: de 阅读全文
摘要:
python对txt的读写 filename ="D://练习//learning_python.txt" #读取整个文件 with open (filename) as file_obj: contents = file_obj.read() print(contents) #逐行读取 with 阅读全文