Install package
under the windows environment
!pip install pyautogui
1. Control the movement of mouse
2. continue....
under the windows environment
!pip install pyautogui
1. Control the movement of mouse
import pyautogui for i in range(5): pyautogui.moveTo(0, 0, duration=0.5) pyautogui.moveTo(1000, 0, duration=0.5) pyautogui.moveTo(1000, 1000, duration=0.5) pyautogui.moveTo(0, 1000, duration=0.5)
沒有留言:
張貼留言