-1

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,
     )
  • Flagging this. Edit it so its an actual question. – Josip Juros May 20 '22 at 09:11
  • kindly edit your question to make it more readable. also refer to this: https://www.geeksforgeeks.org/python-desktop-notifier-using-plyer-module/ – Atlas Bravoos May 20 '22 at 09:14
  • Sorry for not being clear. This site did not help me with adding an image to my message itself because it only shows that you can add an icon from the app. Thanks for the help though – Sagi Lolam May 20 '22 at 09:16

1 Answers1

1

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:

hc_dev
  • 8,389
  • 1
  • 26
  • 38