12 2020 档案

摘要:REPORT_PATH='/Users/lucky/Desktop/Auto/Daas_Interface/python_Interface_new/DaasApiTesting/Report' #路径 def delete_file(path=REPORT_PATH): ''' :param RE 阅读全文
posted @ 2020-12-04 18:20 Syw_文 阅读(452) 评论(0) 推荐(0) 编辑
摘要:### 一般发邮件方法 我以前在通过Python实现自动化邮件功能的时候是这样的: import smtplib from email.mime.text import MIMEText from email.header import Header # 发送邮箱服务器 smtpserver = ' 阅读全文
posted @ 2020-12-04 11:27 Syw_文 阅读(164) 评论(0) 推荐(0) 编辑
摘要:eval() 函数用来执行一个字符串表达式,并返回表达式的值 实现方式: 阅读全文
posted @ 2020-12-02 17:10 Syw_文 阅读(394) 评论(0) 推荐(0) 编辑