Python调用系统通知

Windows10实现
PYTHON
1 | from win10toast import ToastNotifier |
Linux实现
通过系统自带的命令notify-send发送通知
BASH
1 | notify-send -a app-name -i icon-path title content |
通过第三方包调用系统通知,如dunst
BASH
1 | dunstify --action="replyAction,reply" "Message received" |
通过Python调用os模块执行命令
PYTHON
1 | import os |
评论
评论插件加载失败
正在加载评论插件