📜  使用 python 代码示例推送通知

📅  最后修改于: 2022-03-11 14:46:50.856000             🧑  作者: Mango

代码示例1
toaster = ToastNotifier()
toaster.show_toast("Weather Information",
    f"{information}",
    duration=10,
    threaded=True)
    while toaster.notification_active(): time.sleep(0.005)