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