摘要: # /usr/bin/python# encoding:utf-8import csvimport osimport time# 启动类class App(object): def __init__(self): self.content = "" self.startTime = 0 # 启动Ap 阅读全文
posted @ 2019-06-17 11:53 熊猫星人 阅读(1992) 评论(0) 推荐(0) 编辑
摘要: n = 1while n < 6: cmd = 'adb shell am start -W -n com.sf.DarkCalculator/.MainActivity' content = os.popen(cmd) print('启动成功') for line in content.readl 阅读全文
posted @ 2019-06-17 11:50 熊猫星人 阅读(707) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8from selenium import webdriverimport timedriver = webdriver.Chrome()driver.maximize_window() # 将浏览器最大化显示# 登录driver.get("商城url")time.slee 阅读全文
posted @ 2019-06-17 11:46 熊猫星人 阅读(254) 评论(0) 推荐(0) 编辑
摘要: import smtplibfrom email.mime.text import MIMETextsmtpserver = "smtp.qq.com"port =465sender = "发件人账号@qq.com"psw = "smtp服务的授权码"receiver ="收件人账号@qq.com" 阅读全文
posted @ 2019-06-17 11:41 熊猫星人 阅读(138) 评论(0) 推荐(0) 编辑