WhatsApp Bot Prank
Welcome to CodingFizz,
You can do anything using python in programming. Python is the most widely popular language in the world. Python easy and simple programming language.
In this tutorial, we will write a program to make a basic Whatsapp bot. it is only for fun. In this program, we will read an animal.txt file there are 500+ animal names, you can use another file instead of the animal.txt file.
This program is only a 10-line program.
Steps:
- Search animal.txt GitHub on google.
- Then Download the zip file from GitHub.
- Extract the file.
- Open Terminal and download the python package (pyautogui).
>> pip install pyautogui
import pyautogui as pg
import time
time.sleep(10)
txt = open('animals.txt')
a = "Shivam is "
for i in txt:
pg.write(a+i)
pg.press("Enter")
0 Comments