Open jwestern1337 opened 2 years ago
Thank you for your feedback. You can suppress the stdout output of the toast with the code below.
from win11toast import toast
def empty_func(args):
pass
toast('Hello Python🐍', on_dismissed=empty_func)
You can suppress timeout with notify function
from win11toast import notify
notify('Hello Python🐍')
I had the same issue, than I realized my OS was in 'Do not disturb' mode when i deactivated it worked, if might help someone
If its on Windows 11 see if notification do not disturb is turned on.
Just trying to find a toast notification library since win10toast doesnt work on win 11 anymore, trying out the example code and it always prints out "ToastDismissalReason.TIMED_OUT". Not sure whether this is the new win 11 update causing this issue or what but please let me know if you find a fix.
code: