小编Tot*_*oum的帖子

如何使用 Python 3 发送桌面通知?

我有一个 python3.4 脚本。我想向桌面发送通知。我如何在python中处理这个?我可以使用通知发送吗?

我正在使用 Ubuntu 14.04。

#in my script
if something:
  notify-send 'Here is a notification !'
Run Code Online (Sandbox Code Playgroud)

python notify-send python3

12
推荐指数
1
解决办法
2万
查看次数

标签 统计

notify-send ×1

python ×1

python3 ×1