Same code to add email attachment.Different execution time

前端 未结 0 2000
清酒与你
清酒与你 2020-12-30 17:40

Code:

print(time.strftime("%Y-%m-%d-%H%M%S", time.localtime(time.time())))
att2 = MIMEText(open(\'C:/Users/olay_Czz/Desktop/test.rar\', \'rb\').read         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题