Created
August 31, 2022 10:57
-
-
Save saiankit/ebe41a404e7ba823228ce05938644542 to your computer and use it in GitHub Desktop.
Send bulk whatsapp messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from time import sleep | |
import pywhatkit as pw | |
import pandas as pd | |
df = pd.read_csv("data.csv") | |
for i, j in df.iterrows(): | |
print(j["phone_number"]) | |
pw.sendwhats_image("+" + str(j["phone_number"]), "image.jpg", "Wishes " + j["name"]) | |
sleep(3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment