1from win10toast import ToastNotifier
2toaster = ToastNotifier()
3toaster.show_toast("Sample Notification","Python is awesome!!!")
1# If win10toast is not installed on your machine open the command prompt and run
2# pip install win10toast
3# or
4# pip3 install win10toast
5from win10toast import ToastNotifier
6toaster = ToastNotifier()
7toaster.show_toast("Sample Notification","Python is awesome!!!")