I'm using Python 3.10 and I'm writing code that requires writing its output to the clipboard, and I don't want to download external libraries because I think it would be a hassle and I have no clue when I will ever use the library next. It doesn't have to output text to the clipboard, but I think it would be more convenient if it did.
I've tried searching it up but it has only showed me how to do it using external libraries, or not answering the question, and I'm beginning to doubt whether it is even possible. I've seen and used code that finds what is currently in your clipboard without use of external libraries (here), so I would assume it is also possible with copying text to the clipboard.