Commit 4cecae08 authored by 王志伟's avatar 王志伟

数据指标波动假设检验统计

parent 6fbc355c
...@@ -383,15 +383,14 @@ print("============================分割线===================================" ...@@ -383,15 +383,14 @@ print("============================分割线==================================="
my_sender='wangzhiwei@igengmei.com' my_sender='wangzhiwei@igengmei.com'
my_pass = '2UTrWbZLsi6F9FP6' my_pass = '2UTrWbZLsi6F9FP6'
my_user1='gaoyazhe@igengmei.com' my_user1='wangzhiwei@igengmei.com'
my_user2='wangzhiwei@igengmei.com'
def mail(): def mail():
ret = True ret = True
try: try:
text = "Hi!\nHow are you?\nHere is the link you wanted:\nhttp://www.baidu.com" text = "Hi!\nHow are you?\nHere is the link you wanted:\nhttp://www.baidu.com"
msg = MIMEText(text, 'plain', 'utf-8') msg = MIMEText(mean_var_ctr_old_precise, 'plain', 'utf-8')
msg['From'] = formataddr(["高雅喆", my_sender]) msg['From'] = formataddr(["王志伟", my_sender])
msg['To'] = my_user1 + ',' + my_user2 msg['To'] = my_user1
msg['Subject'] = str(datetime.date.today()) + "-esmm多目标模型训练指标统计" msg['Subject'] = str(datetime.date.today()) + "-esmm多目标模型训练指标统计"
server = smtplib.SMTP_SSL("smtp.exmail.qq.com", 465) server = smtplib.SMTP_SSL("smtp.exmail.qq.com", 465)
server.login(my_sender, my_pass) server.login(my_sender, my_pass)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment