了解RPA:
www.i-search.com.cn
学习RPA
https://support.i-search.com.cn/
下载RPA:
https://www.i-search.com.cn/?from=csdn
⑯提醒应用
目的:创建一个提醒应用程序,在特定的时间提醒你做一些事情(桌面通知)。
提示:时间模块可以使用跟踪提醒时间,toastnotifier库可以使用显示桌面通知。
安装:win10toast
from win10toast import ToastNotifier
import time
toaster = ToastNotifier()
try:
print(“Title of reminder”)
header = input()
print(“Message of reminder”)
text = input()
print(“In how many minutes?”)
time_min = input()
time_min=float(time_min)
except:
header = input(“Title of reminder\n”)
text = input(“Message of remindar\n”)
time_min=float(input(“In how many minutes?\n”))
time_min = time_min * 60
print(“Setting up reminder…”)
time.sleep(2)
print(“all set!”)
time.sleep(time_min)
toaster.show_toast(f"{header}",
f"{text}",
duration=10,
threaded=True)
while toaster.notification_active(): time.sleep(0.005)
维基维基百科文章摘要
目的:使用一种简单的方法从用户提供的