Moving the mouse cursor with Python

Moving the mouse cursor using python is really easy using python with package pyautogui

from pyautogui import position, moveToimport timedef run():    moveTo((position().x-10), (position().y+10))    time.sleep(10)    run()if __name__ == "__main__":    run()

Post a Comment

Previous Post Next Post