Being very new to Python, any help at all is greatly appreciated.
I'm trying to make a spammer thing to mess with my friends, and the output keeps insisting that I need "tkinter".
The modules that I'm using are pyautogui, time, and subprocess and some Googling has told me that none of those have to use tkinter for anything.
When I try to actually install tkinter it won't install (apt-get or pacman) What can I do?
Here is my code:
import pyautogui
import time
import subprocess
def sendNotif(title, message):
subprocess.run(['notify-send', title, message])
message = input("Enter message (leave blank to paste clipboard")
repeats = int(input("Number of times to send the message:"))
delay = int(input("Number of ms between each message (seconds x 1000): "))
isLoaded = input("Open your messaging application and press Enter when it's ready")
print("You have 5 seconds to refocus the message entering area of your chat application.")
time.sleep(5)
for i in range(0,repeats):
if message != "":
pyautogui.typewrite(message)
pyautogui.press("enter")
else:
pyautogui.hotkey('ctrl', 'v')
pyautogui.press("enter")
time.sleep(delay/1000)
sendNotif('Finished Sending Flood', 'Now we play the waiting game......')
print("Done")