+
80
-

python如何右下角弹出提示框通知?

python如何右下角弹出提示框通知?

网友回复

+
0
-

win10toast可以实现win10样式的弹出通知消息。

800_auto

安装:pip install win10toast

示例代码:

import time
from win10toast import ToastNotifier 

while 1:
    notify = ToastNotifier()
    notify.show_toast("新消息", "你好", duration = 20)
    time.sleep(1800)

我知道答案,我要回答