Bilişim dünyasına kaliteli, özgün ve Türkçe içerikler kazandırmayı hedefleyen bir platform..

friends friends friends

Windows 10 Toast Notifications

Windows 10 bildirimleri görüntülemek için kolay bir Python kütüphanesi. Github adresinden inceleyebilirsiniz.

Kurulum

pip install win10toast

Gereksinimler

pywin32 kurulumu

pypiwin32
setuptools

Örnek

from win10toast import ToastNotifier
toaster = ToastNotifier()
toaster.show_toast("Hello World!!!",
                   "Python is 10 seconds awsm!",
                   icon_path="custom.ico",
                   duration=10)

toaster.show_toast("Example two",
                   "This notification is in it's own thread!",
                   icon_path=None,
                   duration=5,
                   threaded=True)
# Wait for threaded notification to finish
while toaster.notification_active(): time.sleep(0.1)
Windows 10 Toast Python Notifications
0 Beğeni
Python
Önceki Yazı

Göz Kuruluğuna Ne İyi Gelir?

19 Kas. 2020 tarihinde yayınlandı.
Sonraki Yazı

Adobe Connect

19 Kas. 2020 tarihinde yayınlandı.
arrow