import pyautogui
pyautogui.PAUSE=0.12
#pyautogui.FAILSAFE=True
def shoot():
for a in range(1,18):
pyautogui.click(button='left')
shoot()
感觉可以结合pyhook写个热键……
附上pyautogui的官方文档:https://pyautogui.readthedocs.io/en/latest/
import pyautogui
pyautogui.PAUSE=0.12
#pyautogui.FAILSAFE=True
def shoot():
for a in range(1,18):
pyautogui.click(button='left')
shoot()
感觉可以结合pyhook写个热键……