spammer.py
unknown
python
4 years ago
335 B
5
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...