An Interest In:
Web News this Week
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
September 20, 2021 09:22 am GMT
Original Link: https://dev.to/studiovector3/make-spam-bot-in-python-in-just-6-lines-288e
Make Spam bot in Python in just 6 lines
1 Hello
In this post I will show you how to make simple spam bot in Python in just 6 lines of code.
BTW you can watch video tutorial here:
So let's Start
First we need to install Pysimplegui library, we can do it by running this command
pip install pysimplegui
Next, we need to import pysimplegui and time library. We can use this code
import pysimplegui, time
Now let's make a program for spamming.
First we need add a timer, because you will need some time to go to Instagram or something.
Then we need ad a whole loop for the spamming functionality
Here is the code:
time.sleep(5) #delay for 5 secwhile True: #endless loop pyautogui.write("heyy") pyautogui.press("enter") time.sleep(0.2)
That's the whole code you need to Spam your friend.
Thanks for Reading this post. I hope you learned something new. See you
Original Link: https://dev.to/studiovector3/make-spam-bot-in-python-in-just-6-lines-288e
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To