问题:
pyautogui点击click有时不生效
解决办法
You have to install another library pynput
>>>from pynput.mouse import Listener, Controller, Button
>>>mouse = Controller()
>>>pyautogui.moveTo(x, y)
#其中这块的2代表的是点击次数
>>>mouse.click(Button.left, 2)
问题:
pyautogui点击click有时不生效
解决办法
You have to install another library pynput
>>>from pynput.mouse import Listener, Controller, Button
>>>mouse = Controller()
>>>pyautogui.moveTo(x, y)
#其中这块的2代表的是点击次数
>>>mouse.click(Button.left, 2)
本文标题:pyautogui点击click有时不生效
本文链接:https://www.haomeiwen.com/subject/yeqshrtx.html
网友评论