15 lines
253 B
Python
15 lines
253 B
Python
|
import pyautogui
|
||
|
import time
|
||
|
|
||
|
time.sleep(5)
|
||
|
|
||
|
print("Starting loop!")
|
||
|
#for i in range(0,50):
|
||
|
while True:
|
||
|
pyautogui.keyDown('space')
|
||
|
#pyautogui.mouseDown()
|
||
|
time.sleep(1)
|
||
|
#pyautogui.mouseUp()
|
||
|
pyautogui.keyUp('space')
|
||
|
#time.sleep(1)
|