Invoke System notification

To invoke notification
Windows system notification
from win10toast import ToastNotifier # to import toaster notification library
import time#for sleep methord
toaster=ToastNotifier()#constuctor
s=input("enter text ")
t=input("enter title ")
toaster.show_toast(title="title is "+t,msg="message is "+s,duration=6 threaded = True) #to invoke notification
time.sleep(2)


windows threaded

Linux system notification
import os
import time
x=input("enter text ")
os.system('notify-send '+x)#invoking through CMD
time.sleep(2)