【发布时间】:2021-02-10 05:41:57
【问题描述】:
import time
from plyer import notification
import plyer
while True:
notification.notify(
title = "Please drink water",
message ="Please Drink water",
app_icon = "D:\Documents\Coding\Python\icon.ico",
timeout= 1
)
# time.sleep(6)
time.sleep(6)
这不起作用,任何建议
显然有很多错误
【问题讨论】:
-
尝试删除图标。因为如果我添加那对我不起作用
-
如果我想添加一个图标怎么办
-
抱歉回复晚了。你有
raise Exception('Could not load icon {}'.format(app_icon))的错误吗?
标签: python desktop-application