Skip to content

Instantly share code, notes, and snippets.

@saiankit
Created August 31, 2022 10:57
Show Gist options
  • Save saiankit/ebe41a404e7ba823228ce05938644542 to your computer and use it in GitHub Desktop.
Save saiankit/ebe41a404e7ba823228ce05938644542 to your computer and use it in GitHub Desktop.
Send bulk whatsapp messages
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