Trying PyperClip

[Python]

I'm trying to write a very basic code with pyperclip. I can get command prompt to copy a string to my devices clipboard, but can't get it to paste onto anything? This is my first time even using command prompt or even coding outside of pyCharm, so I'm very much a beginner. Anything would help.

​

import pyperclip

pyperclip.copy("This text is copied")

print(pyperclip.paste())

Posted Nov 4, 2022, 1:34 AM UTC

31
Loading comments…