pyBegin / projects / desktop-notification
🔔

Desktop Notification

Displays a simple Windows toast notification using the win10toast library.

15 lines🖥 Desktop only

Desktop Notification

Displays a simple Windows toast notification using the win10toast library.

Example

  1. Run python main.py.
  2. A Windows toast notification appears in the bottom-right corner titled "Python project" with the body text "Here is your notification body".
  3. The notification stays visible for 20 seconds, then dismisses automatically.

How to run on localhost

pip install win10toast
python main.py

Dependencies