How to send Multiple Messages on whatsapp through Python ?

Write this command on Terminal and Press Enter:

pip install pyautogui

Python Code

import pyautogui
import time
time.sleep(3)

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


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by AKSH DESAI

Write this command on Terminal and Press Enter:

pip install pyautogui

Python Code

import pyautogui
import time
time.sleep(3)

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

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


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by AKSH DESAI


Print Share Comment Cite Upload Translate Updates
APA

AKSH DESAI | Sciencx (2022-11-05T15:08:47+00:00) How to send Multiple Messages on whatsapp through Python ?. Retrieved from https://www.scien.cx/2022/11/05/how-to-send-multiple-messages-on-whatsapp-through-python/

MLA
" » How to send Multiple Messages on whatsapp through Python ?." AKSH DESAI | Sciencx - Saturday November 5, 2022, https://www.scien.cx/2022/11/05/how-to-send-multiple-messages-on-whatsapp-through-python/
HARVARD
AKSH DESAI | Sciencx Saturday November 5, 2022 » How to send Multiple Messages on whatsapp through Python ?., viewed ,<https://www.scien.cx/2022/11/05/how-to-send-multiple-messages-on-whatsapp-through-python/>
VANCOUVER
AKSH DESAI | Sciencx - » How to send Multiple Messages on whatsapp through Python ?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/11/05/how-to-send-multiple-messages-on-whatsapp-through-python/
CHICAGO
" » How to send Multiple Messages on whatsapp through Python ?." AKSH DESAI | Sciencx - Accessed . https://www.scien.cx/2022/11/05/how-to-send-multiple-messages-on-whatsapp-through-python/
IEEE
" » How to send Multiple Messages on whatsapp through Python ?." AKSH DESAI | Sciencx [Online]. Available: https://www.scien.cx/2022/11/05/how-to-send-multiple-messages-on-whatsapp-through-python/. [Accessed: ]
rf:citation
» How to send Multiple Messages on whatsapp through Python ? | AKSH DESAI | Sciencx | https://www.scien.cx/2022/11/05/how-to-send-multiple-messages-on-whatsapp-through-python/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.