11 2018 档案
摘要:1. Pymysql(No module named ‘cryptography’) pip install cryptography pip install paramiko 把 cryptography 与pymysql 放入 airtest路径 注释:mac 环境,Airtest 默认安装位置
阅读全文
摘要:一、安装selenium 二、Selenium的简单操作 from selenium import webdriverdriver = webdriver.Firefox()driver.get('https://www.baidu.com')print(driver.current_url)pri
阅读全文
摘要:1. 日志(1) import logginglogging.basicConfig(level=logging.INFO,filename='runlog.log',filemode='w', format='%(asctime)s %(filename)s[line:%(lineno)d]%(l
阅读全文
摘要:Msg.yaml name: dzage: 22spoce: name: 安生 age: 12children: - name: 詹阔 age: 13 - name: 展阔 age: 10 Xx.py file = open('msg.yaml','r',encoding='utf-8')data
阅读全文
摘要:1. 连接 # coding=utf-8from appium import webdriverfrom selenium.webdriver.support.ui import WebDriverWaitfrom selenium.common.exceptions import NoSuchEl
阅读全文
摘要:pip install baidu-aip# from aip import AipSpeech# """ 你的 APPID AK SK """# APP_ID = '1470334'# API_KEY = 'Mjs4QCgqoQYG84d5zEc2EUsj'# SECRET_KEY = 'wE5r
阅读全文