Created
July 28, 2025 15:48
-
-
Save barretts/24f47cff41334d50e30b8383679c1ba4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyautogui | |
import time | |
import random | |
while True: | |
x = random.randint(0,1000) | |
y = random.randint(0,1000) | |
pyautogui.moveTo(x,y) | |
localtime = time.localtime() | |
result = time.strftime("%I:&M:%S %p", localtime) | |
print('Moved at ' + str(result) + ' (' + str(x) + ', ' + str(y) + ')') | |
time.sleep(60) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment