Need help with Python

  • Thread starter Thread starter Are_you_ok
  • Start date Start date

Are_you_ok

Guest
Member
Python:

Code:
import keyboard
import pyautogui
import threading
import random

def targetme():
    while True:
        while keyboard.is_pressed('f') == True:
            x = pyautogui.position()
            pyautogui.click(x)

for i in range(random.randint(0.5,1.25), 2.5):
    thread = threading.Thread(target=targetme)
    thread.start()

(line 11 need help with floats)
 
Top