Why the Window Title in the notification system of plyer isn't working

72 Views Asked by At

I have implemented the following code:

from plyer import notification


def createNotification(title, message):
    notification.notify(
        title=title,
        message=message,
        app_name="The_Debugged_Name",
        app_icon="pictures/main_icon.ico",
        timeout=2
    )


createNotification("Greeting Message", "Hello World")

The main problem with the implementation is that the notification I'm getting is with the message python along with the icon i.e. not as a title but as the small window title on the notification.

Output_Message

1

There are 1 best solutions below

0
Anytokin On

In plyer you just... can't - because this. But you can switch to win11toast and do something like this.