+ 1
How can I put my code's ouput text on my clipboard?
I wrote a Python script which uses the print() function to display the end result. I was hoping to copy the output text from the console into a text message, but when I did the old press-and-hold, I was surprised to find that I cannot select the text. Does anybody know how I can do this?
4 Réponses
0
Ku
0
Марсель Исламов Marcel, can you please elaborate?
0
If you want to manually copy the code, then you might need to try a different IDE if the one you are using doesn't allow this. if you want to do it programmatically, there is a module called Pyperclip.
0
Как дела парни