DEV Community

AKSH DESAI
AKSH DESAI

Posted on

How to send Multiple Messages on whatsapp through Python ?

Write this command on Terminal and Press Enter:

pip install pyautogui
Enter fullscreen mode Exit fullscreen mode

Python Code

import pyautogui
import time
time.sleep(3)

count = 0
while(count <= 100):
    pyautogui.typewrite('hi')
    pyautogui.press('enter')
    count += 1

Enter fullscreen mode Exit fullscreen mode

Here Messages send on those whatsapp group where your mouse cursor is available.

Output

Output Imag

Thank You.
You can follow us on:
Youtube
Instagram

Top comments (0)