Python Forum

Full Version: Auto-copy all displayed "print" results into clipboard?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Are there any ways for python to store all its "print" messages into clipboard, after finishing its execution at the end?
I come across a module "pyperclip", but some "print" content cannot be stored into clipboard.
Thanks!
Check this answer by Net Batchelder. Also don't skip the other provided answers.
Then you can use pyperclip to store it in the Clipboard