了解RPA:
www.i-search.com.cn
学习RPA
https://support.i-search.com.cn/
下载RPA:
https://www.i-search.com.cn/?from=csdn
邮件地址切片器
目的:编写一个Python脚本,可以从邮件地址中获取用户名和域名。
提示:使用@作为分隔符,将地址分为两个字符串。
发送自动发送邮件
目的:编写一个Python脚本,可以使用这个脚本发送电子邮件。
提示:电子邮件库可用于发送电子邮件。
import smtplib
from email.message import EmailMessage
email = EmailMessage() ## Creating a object for EmailMessage
email[‘from’] = ‘xyz name’ ## Person who is sending
email[‘to’] = ‘xyz id’ ## Whom we are sending
email[‘subject’] = ‘xyz subject’ ## Subject of email
email.set_content(“Xyz content of email”) ## content of email
with smtlib.SMTP(host=‘smtp.gmail.com’,port=587)as smtp:
sending request to server
smtp.ehlo() ## server object
smtp.starttls() ## used to send data between server and client
smtp.login(“email_id”,“Password”) ## login id and password of gmail
smtp.send_message(email) ## Sending email
print(“email send”) ## Printing success message
⑨缩写词
目的:编写一个Python脚本,从给定的句子生成一个缩写词。
提示:您可以通过分解和索引来获取第一个单词,然后将其组合。
文字文字冒险游戏
目的:编写一个有趣的Python脚本,通过为路径选择不同的选项让用户进行有趣的冒险。
来源:艺赛旗RPA社区 掉进悬崖的小白