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 :
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:
- Windows, see
winrt
, also in win 10 toast notification with an image in python - Linux/Gnome, see Desktop Notifications in Linux with Python | DevDungeon
- MacOS, see
desktop-notifier
- cross-platform, see
notify-py