import pywhatkit try: pywhatkit.sendwhatmsg("+919843597599", "hi dude good morning", 00,00) print("success") except: print("Enter the correct details you fool")