use clipboard python code example
Example: python get copied text
import pyperclip
pyperclip.copy("your string")
clipboard_content = pyperclip.paste()
import pyperclip
pyperclip.copy("your string")
clipboard_content = pyperclip.paste()