pyautogui python module
pyautogui module is very useful to control mouse and keyboard. It is used to automate mouse cliks and keyboard press tasks.
to find size of the screen
to find current position of mouse
to move the cursor to (100,100) position
to move the cursor to (100,100) position with 2 seconds delay
to type on the screen where the current has focused
Screenshot using python
automated dino game using python:
Comments
Post a Comment