摘要: #coding=utf-8import smtplibfrom email.mime.text import MIMETextimport unittestimport HTMLTestRunnerimport time,os# 定义发送邮件 def send_mail(file_new): #发信 阅读全文
posted @ 2017-10-16 13:56 琦琦爸爸 阅读(587) 评论(0) 推荐(0) 编辑
摘要: #coding=utf-8import os,timek=1while k <2: now_time=time.strftime('%H_%M') if now_time == '21_00': print u"开始运行脚本:" os.chdir("E:\\test_object") os.syst 阅读全文
posted @ 2017-10-16 11:11 琦琦爸爸 阅读(458) 评论(0) 推荐(0) 编辑