How to create a system tray popup message with python? (Windows)

后端 未结 6 1223
庸人自扰
庸人自扰 2020-12-01 00:06

I\'d like to know how to create a system tray popup message with python. I have seen those in lots of softaware, but yet difficult to find resources to do it easily with any

6条回答
  •  心在旅途
    2020-12-01 00:53

    in Linux system , You could use inbuilt command notify-send.

    ntfy library can be used for sending push notifications.

    click here for ntfy documentation

    installation:

    sudo pip install ntfy
    

    examples:

    ntfy send "your message!"
    ntfy -t "your custom title" send "your message"
    

提交回复
热议问题