

# https://www.globalsino.com/ICs/page4853.html
# Print the contents in the last clipboard


from tkinter import Tk
from time import sleep

r = Tk()

while True:
    result = "Clipboard started"
    r.selection_get(selection="CLIPBOARD")
    sleep(1)   

    result = r.selection_get(selection="CLIPBOARD")
    print(result)

    
        
