Pycharm sees the installed Pyperclip module, but the module does not produce results
Answered
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.


Please sign in to leave a comment.
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: