# https://www.globalsino.com/ICs/page4853.html # Copy and then store it into memory and it can be pasted for use later import pyperclip as pc import time text1 = "Copy1" # copying text1 to clipboard pc.copy(text1) text1 = pc.paste() print(text1) time.sleep(6) # Manually copy "10" at this step text2 = pc.paste() print(text2) time.sleep(6) # Manually copy "30" at this step text3 = pc.paste() print(text3) time.sleep(6) print(text1) time.sleep(6) print(text2) time.sleep(6) print(text3) print(text2+text3) print(int(text2)+int(text3))