使用python发送系统通知(适用于linux,windows等)
使用pip安装:
pip3 install plyer
使用方法:
from plyer import notification
notification.notify(
title="test", #标题
message="aaaa", #内容
app_icon="None", #图标
timeout=1, #通知持续时间
)
使用pip安装:
pip3 install plyer
使用方法:
from plyer import notification
notification.notify(
title="test", #标题
message="aaaa", #内容
app_icon="None", #图标
timeout=1, #通知持续时间
)