Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pywhatkit send message

# importing the module
import pywhatkit
 
# using Exception Handling to avoid
# unprecedented errors
try:
   
  # sending message to receiver
  # using pywhatkit
  pywhatkit.sendwhatmsg("+91xxxxxxxxxx",
                        "Hello from GeeksforGeeks",
                        22, 28)
  print("Successfully Sent!")
 
except:
   
  # handling exception
  # and printing error message
  print("An Unexpected Error!")
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #pywhatkit #send #message
ADD COMMENT
Topic
Name
3+9 =