/Windows-10-Toast-Notifications

Python script to display Windows 10 Toast Notifications

Primary LanguagePythonMIT LicenseMIT

Windows 10 Toast Notifications

An easy-to-use Python library for displaying Windows 10 Toast Notifications which is useful for Windows GUI development.

o7ja4 1

Installation

pip install win10toast

Requirements

Installation of pywin32

pypiwin32
setuptools

Example

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("Hello World!!!",
             "Python is awsm by default!")