Last active
October 22, 2019 10:10
-
-
Save ronykroy/d7a13779929cd77baf95fff1f171ba90 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, random,time | |
#print('screen size',pyautogui.size()) # get screen dims | |
#print('position of cursor ',pyautogui.position()) | |
# place mouse at various points to determine bounds of.. | |
# safe to click areas on th colab notebook | |
print('press ctrl c to stop') | |
while True: # The dims below: wer obtained from the output command above | |
pyautogui.click(random.randint(144,1591), random.randint(240, 940)) | |
time.sleep(199) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment