

# https://www.globalsino.com/ICs/
# KeyboardInterrupt to stop an action

import pyautogui as pg

try:
    while True:
        print(pg.position(), 'Press Ctrl-C to quit.')

except KeyboardInterrupt:
    print('\nStoped since "Ctrl-C" is pressed.')
