了解RPA:
www.i-search.com.cn
学习RPA
https://support.i-search.com.cn/
下载RPA:
https://www.i-search.com.cn/?from=csdn
每日流程留档文本自动报送
import datetime
import smtplib
from email.mime.text import MIMEText
from email.header import Header
from email.mime.multipart import MIMEMultipart
import time
import os,base64
写入操作用于留档
def writetxt(content):
today = time.strftime("%Y-%m-%d", time.localtime())
now_time = time.strftime("%H:%M:%S", time.localtime())
filepath = os.path.dirname(file)
print(filepath)
filename = today+’.txt’
file = os.path.join(filepath,filename)<