How To Automate WhatsApp Messages With Python In Just 2 Lines of Code.







 Step 1 : Install PyWhatKit Module.

Open Cmd > Type pip install pywhatkit.


Step 2 : Open Any Text Editor And Write Below Code.

//Code

import pywhatkit

pywhatkit.sendwhatmsg('+91........','Messages',Hour, Minutes)

Note: sendwhatmsg method is use to send msg. It will take 4 Arguments. First will take Number, After that it will take Messages and After that Hour and Min.

Make Sure that you have login with whatsapp web.

Post a Comment

0 Comments