how to automate whatsapp message using python pywhatkit


how to automate whatsapp message using python pywhatkit

Hello everyone, in this article we will learn how to automate whatsapp message using python pywhatkit . so Let’s see:

If you want a WhatsApp message to deliver at a particular time but you could be busy or even at sleep at that time then this article very helpful for you.

Step 1 :Installation of library :

you need to installed following library

1.Install Python

2.Pycharm, and 

3.Pywhatkit

Step 2 : Use Pycharm to automate whatsapp message using python

First Open Pycharm and then create a new project.

Give your new project a name — sachautomationwhatapp . Then select python file. Also, give the python file a name you want. after Copy the Pywhatkit installation link.

link here for pywhatkit

how to automate whatsapp message using python pywhatkit
how to automate whatsapp message using python pywhatkit

go to Pycharm. Click on Terminal at the bottom left in Pycharm and Paste the Pywhatkit installation link you copied inside the Terminal and press enter. wait for some minutes before the Pywhatkit will install.
Now write the following code in the Pycharm IDE.

Step 3 : Source code for how to automate whatsapp message using python pywhatkit

use like this source code for automation

import pywhatkit
pywhatkit.sendwhatmsg('+91864354****', 'Okay sir I will join the meeting at sharp 8 pm', 19, 53)

Note that : The time here uses the 24hours clock. So instead of writing 7, 00 for 7 pm, you write 19, 00. Also, note the quotation marks. so Run the code. You will get this type of message once the code runs successfully:
In same time web.WhatsApp.com will open and after 20 seconds a message will be delivered.

automate whatsapp message using python pywhatkit
automate whatsapp message using python pywhatkit

Summary :

in this article we saw how to automate whatsapp message using python pywhatkit so about this article you have any query then free to ask me

I am Mr. Sachin pagar Embedded system engineer, the founder of Pythonslearning, a Passionate Educational Blogger and Author, who love to share the informative content on educational resources.

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *