


# https://www.globalsino.com/ICs/
# Continuously clicks until Esc has been pressed

from keyboard import is_pressed as isp
from pyautogui import click
import time

time.sleep(2)
count = 0
while not isp('esc'):
    click()
    print('clicked!')
    count += 1
    
print('\nNumbers of clicks:\t', count)
