Python Forum
Auto-copy all displayed "print" results into clipboard?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto-copy all displayed "print" results into clipboard?
#1
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!
Reply
#2
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
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Fuzzy Wuzzy how to get my fuzzyratio displayed windingsareuseful 3 233 Apr-04-2024, 05:38 PM
Last Post: deanhystad
  Why is the copy method name in python list copy and not `__copy__`? YouHoGeon 2 249 Apr-04-2024, 01:18 AM
Last Post: YouHoGeon
  non-latin characters in console from clipboard Johanson 3 690 Oct-26-2023, 10:10 PM
Last Post: deanhystad
  saving and loading text from the clipboard with python program MaartenRo 2 1,655 Jan-22-2022, 05:04 AM
Last Post: MaartenRo
  Table displayed out of order nigelwright7557 3 1,790 Nov-24-2021, 10:07 AM
Last Post: nigelwright7557
  How to print results of asyncio websockets at the same time? codingmonster 0 1,766 Jun-04-2021, 01:48 PM
Last Post: codingmonster
  How to listen to clipboard content change without polling the clipboard continuously? edgelord 0 2,475 Nov-27-2020, 06:07 AM
Last Post: edgelord
  Problem posting image to clipboard noel 0 2,162 Sep-26-2020, 10:50 AM
Last Post: noel
  Search Results Web results Printing the number of days in a given month and year afefDXCTN 1 2,231 Aug-21-2020, 12:20 PM
Last Post: DeaD_EyE
  Unexpected output: symbols for derivative not being displayed saucerdesigner 0 2,042 Jun-22-2020, 10:06 PM
Last Post: saucerdesigner

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020