#模拟鼠标点击一分钟点击一次x2501 y63 import pyautogui import random def click(): x = random.randint(463, 463) y = random.randint(886, 886) pyautogui.click(x, y) #点击键盘复制 pyautogui.hotkey('ctrl', 'c') #点击键盘粘贴 pyautogui.hotkey('ctrl', 'v') x = random.randint(1428,1428) y = random.randint(966,966) pyautogui.click(x,y) print('刷屏了一次') while True: click()
python刷屏
![](https://img-home.csdnimg.cn/images/20240611030827.png)