G
G
GreenX52020-07-30 17:19:18
Python
GreenX5, 2020-07-30 17:19:18

How to get W10 Notification Center messages in Python?

Ways to send messages to the W10 Notification Center are known
Non-blocking

import plyer

plyer.notification.notify( message='Сообщение',
    app_name='Приложение',
    #app_icon='sample.jpg',
    title='Заголовок', )

print('unnblock')


blocking

from win10toast import ToastNotifier

notifier = ToastNotifier()
notifier.show_toast("Sample Notification", "You are learning at Tutorialspoint",  duration = 5)

print('unnblock')


Is there a way to read available messages in the notification center?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question