

# https://www.globalsino.com/ICs/
# Get string forms of the integer coordinates.

import pyautogui as pg

try:
    while True:
        x, y = pg.position()
        mousePosition = 'X: ' + str(x).rjust(2) + ', Y: ' + str(y).rjust(2)
        print(mousePosition)

except KeyboardInterrupt:
    print('\nDone.')
