Pycharm sees the installed Pyperclip module, but the module does not produce results
已回答
Hello. I am new to programming and now need your help. I have installed Pyperclip using "pip install pyperclip" on CMD.
In Python IDLE everithing is ok. Pycharm sees the installed Pyperclip module, but this script
import pyperclip
pyperclip.copy("Hello")
pyperclip.paste()
pyperclip.copy("Hello")
dosn't work. There are no errors or results. Please help.


请先登录再写评论。
Hi,
It works in IDLE because Python behaves differently there. If you run these commands in Python Console inside PyCharm, you will get the same result:
If you wish to print it when running as a script, then you should enclose it into a print statement: