06 2020 档案
摘要:获取header:pm.request.headers.get(“Cookie”)获取body:pm.request.body.raw
阅读全文
摘要:1、遇到找不到模块 使用pytest.in配置文件,指定python搜索路径 [pytest] python_paths = C://xxx//xxx//pycharmProjects//project
阅读全文
摘要:1、安装python3 2、安装sdk、npm、nodejs、cnpm 参考:http://www.testqa.cn/article/detail/224#Android_SDK_2 参考:https://www.jianshu.com/p/ac88701e2bbd 按照上面的教程可能会遇到各种问
阅读全文
摘要:1、发送普通文字邮件 from email.mime.text import MIMEText msg = MIMEText('hello, send by Python...', 'plain', 'utf-8') # 输入Email地址和口令: from_addr = 'xxxxx@163.co
阅读全文
摘要:基本数据类型: 整型(int)、浮点型(float、double)、布尔类型(boolean)、字符类型(char) 引用数据类型: 字符串(String) System.out.println("hello world!"); int x = 1; System.out.println(x); x
阅读全文
摘要:def upload_file(file_path): ''' :param file_path:上传文件的路径 :return: ''' dialog = win32gui.FindWindow("#32770", "打开") comboxex32 = win32gui.FindWindowEx(
阅读全文
摘要:如果下载超时,可以使用豆瓣源-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 你到你的项目根目录下 执行 pip freeze > requirements.txt 生成requirements.txt文件,包含pip
阅读全文