send-auto-whatsapp-messages-using-python

Introduction

Ever since I started my journey with machine learning, I always wanted to automate things around me. This is not my first try to automate things. I have tried to automate sending birthday wishes to my friends on their birthdays (under development) since I am not that good at remembering numbers.

Let’s Start

First, you need to download the pyautogui library. This is the library that is going to help us automate the tasks in your browser.

pip install pyautogui

Write The Main Code

#import all modules that needed
import pyautogui as pg
import time

#How many message you want to send:
print("How many message you want to send: ")
number_of_message=int(input())

#what should be the message?
print("Write down your message: ")
your_text=input()

#sleep time in second
time.sleep(5)
for i in range(number_of_message):
               pg.write(your_text)
               pg.press("enter")

Conclusion

Send Bulk Auto WhatsApp Messages Using Python is a basic python tool. You can make it easier. If you are facing any issues directly message me on Instagram (@cyber.arpan) or telegram (cyberarpan).

Test Your IQ

Over 1,320,000+ Readers

Get fresh content from Secure With Arpan

Post Category

About Us

Yourself required no at thoughts delicate landlord it be. Branched dashwood do is whatever it. Farther be chapter at visited married in it pressed.

Help

Secure With Arpan || Cyber-D Team 2023© || All Rights Reserved