A powerful GUI automation library allows you to get screen size, control the mouse, keyboard and more. To get the position you just need to use the position() function. Here is an example: >>>import pyautogui. >>>pyautogui.position() (1358, 146) >>>. Where 1358 is the X position and 146 is the Y position. Relavent link to the documentation. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.