Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to add an image to desktop notification using plyer (PYTHON)

How can I add an image to this message iteself (not change the icon)?:

from plyer import notification
notification.notify(
     title = 'testing',
     message = '',
     app_icon = None,
     app_name = 'Notifications',
     timeout = 10,
     )

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Unfortunately Plyer does not offer to show images in the notification besides an icon.

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

Also some alternatives do not offer this:

Images, sound or interactive elements embedded to notifications depend heavily on your platform/OS:

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading