Friday, November 26, 2021

Whatsapp Automation

<p>import csv</p>
<p>import pywhatkit&nbsp;</p>
<p>f=open(&apos;E:\\contact.csv&apos;,&apos;r&apos;)</p>
<p>readobj=csv.reader(f)</p>
<p>x,y=13,28</p>
<p>for row in readobj:</p>
<p>&nbsp; &nbsp; a=&apos;+91&apos;+str(row[0])</p>
<p>&nbsp; &nbsp; pywhatkit.sendwhatmsg(a, &quot;Hello&quot;,x,y)</p>
<p>&nbsp; &nbsp; y+=1</p>
<p>f.close()</p>
<p><br></p>

No comments:

Post a Comment