The first argument will be the phone number you would like to send to, then the message, followed by the time in 24 hours, and lastly the minutes of the time you want the message to send at. The next line calls upon the sendwhatmsg function, which sends the message on WhatsApp. The first line imports the PyWhatKit module. ndwhatmsg('+phone number', "Hello automated world", 14, 20) Copy the command depending on your system. If you do get stuck with the command line installation here is the link to there site where they go more in depth click here. I always enjoy doing my installations through the command prompt, but there is another way. First we will be making a folder and calling it "bulk_automate_whatsapp" Next we will make our python file called "whatsapp.py" or whatever you would like to name it. We will be going over how to install PyWhatKit next, the other two you should search how to videos for installing if not already installed. For this article we will need python, an IDE (I use Pycharm), and PyWhatKit. This article is meant for all levels I will be going over two ways to do this.Īs always, the most important part of any program is the set up and ensuring you have everything required to get started. Over the course of this article, you will be learning how to automate the sending of bulk messages with WhatsApp! A basic way which only uses 2 lines of code and a complete program so you can understand this process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |