How does one control the mouse cursor in Python, i.e. move it to certain position and click, under Windows?
If you want to move the mouse, use this:
import pyautogui
pyautogui.moveTo(x,y)
If you want to click, use this:
import pyautogui
pyautogui.click(x,y)
If you don't have pyautogui installed, you must have python attached to CMD. Go to CMD and write: pip install pyautogui
This will install pyautogui for Python 2.x.
For Python 3.x, you will probably have to use pip3 install pyautogui or python3 -m pip install pyautogui.