spammer.py
Anonymous
python
09/14/2021 10:54 AM
448 B
17
Indexable
# spammer.py
import keyboard
import time
def readFile():
with open('output.txt', 'r') as file:
words = file.read().splitlines()
return words
words = readFile()
time.sleep(3)
print(len(words))
for i in range(30):
time.sleep(1)
keyboard.write(words[i])
keyboard.press_and_release('enter')Editor is loading...