I wrote a python code for getting random text into a .txt file. Now I want to send this random text into notification area via 'notify-send' command. How do we do that?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
We can always call notify-send as a subprocess, e.g like that:
Alternatively we could also install python-notify
|
|||||||||||||
|