Created
February 25, 2022 11:07
-
-
Save GeorgiyDemo/00e068b41027e5c82a06b39e7b881213 to your computer and use it in GitHub Desktop.
This file contains 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 | |
time.sleep(5) | |
while True: | |
pyautogui.moveRel(100, 0) | |
time.sleep(1) | |
pyautogui.moveRel(0, -100) | |
time.sleep(1) | |
pyautogui.moveRel(-100, 0) | |
time.sleep(1) | |
pyautogui.moveRel(0, 100) | |
print(f"Moved successfully") | |
time.sleep(random.randint(1, 60)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment