Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

spammer bot python

# You need pyautogui module for this - pip install pyautogui

import pyautogui
import time

choice = int(input("Do you want to spam
 1.text
2.file
"))


def text():
	text = input("Enter your message here: 
")
	num = int(input("How many times you wanna spam it? 
"))
	entr = input("Press Enter to start")
	time.sleep(4)
	a = 0
	while a<num:
		pyautogui.write(text, interval=0.001)  # type with quarter-second pause in between each key
		pyautogui.press('enter')
		a = a+1


def image_():
	print("Please copy the file you want to send
")
	num = int(input("How many times you wanna spam it? 
"))
	entr = input("Press Enter to start")
	time.sleep(5)
	a = 0
	while a<num:
		pyautogui.hotkey('ctrl', 'v')
		pyautogui.press('enter')
		a = a+1


if choice==1:
	text()
elif choice==2:
	image_()
Comment

python spamming bot

# python3
import pyautogui

for i in range(1, 100):
    pyautogui.write('Hiiiiiiiiiii
') # write the message with pyautogui and return line
Comment

PREVIOUS NEXT
Code Example
Python :: how do i change the hue color in seaborn 
Python :: how to calculate average in list python by using whil loop 
Python :: iterating over 2d array python 
Python :: python timestamp shift one day 
Python :: python to exe 
Python :: Python USD to Euro Converter 
Python :: python export console output to file 
Python :: wait for page to load selenium python 
Python :: T-Test Comparison of two means python 
Python :: cartesian product of a list python 
Python :: read csv boto3 
Python :: browse list python 
Python :: python prayer time 
Python :: raatatatatatatatatatatatatatatatatatatatatatatatatatatattatana 
Python :: last 24 hour python datetime 
Python :: image from wikipedia module in python 
Python :: tensorflow binary cross entropy loss 
Python :: pandas dataframe aggregations 
Python :: python make button do more than one command 
Python :: How to create an efficient median finder for a stream of values, in Python? 
Python :: python scatterplot figsize 
Python :: how to re run code in python 
Python :: how to use Qtimer in thread python 
Python :: python tkinter disable dropdown 
Python :: django admin order by 
Python :: how to set interval in python 
Python :: python number of elements in multidimensional array 
Python :: converting bool to 1 if it has true and if it is false print 1 
Python :: python replace regex 
Python :: matplotlib bold 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =