Copy to clipboard in python

I had created a button that would copy text to the clipboard, but the pyperclip module does not work, how can I copy text to the clipboard without the module?

1 Like

Hello @toad1985 welcome to the community!

Did you consider using tkinter?

I think someone made the same question as you here: