+ 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?

14th Sep 2018, 4:33 PM
Brandon Parker
Brandon Parker - avatar
4 Antworten
0
Ku
14th Sep 2018, 6:24 PM
Марсель Исламов
Марсель Исламов - avatar
0
Марсель Исламов Marcel, can you please elaborate?
14th Sep 2018, 6:39 PM
Brandon Parker
Brandon Parker - avatar
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.
15th Sep 2018, 6:46 PM
benjamin
0
Как дела парни
16th Sep 2018, 6:26 AM
Марсель Исламов
Марсель Исламов - avatar