📅  最后修改于: 2022-03-11 14:45:31.754000             🧑  作者: Mango
# If win10toast is not installed on your machine open the command prompt and run
# pip install win10toast
# or
# pip3 install win10toast
from win10toast import ToastNotifier
toaster = ToastNotifier()
toaster.show_toast("Sample Notification","Python is awesome!!!")