0

I am writing a program to crawl links from the internet, and store it as a string. I would like to insert the string into an external program to run it. My idea is to do copy and pasting with keys control, how can I store string into my "copy & paste" area, or is there any good alternatives? Thanks!

  • save the string to a file, then read it back from that file in the external program if you can. or maybe a third-party module like [copypaste](https://pypi.python.org/pypi/copypaste) – chickity china chinese chicken Apr 20 '17 at 17:39
  • Try this: http://stackoverflow.com/questions/579687/how-do-i-copy-a-string-to-the-clipboard-on-windows-using-python – Bl4ckC4t Apr 20 '17 at 17:50

0 Answers0