Using PyCharm community edition and Python 2.7,
import traceback import sys
No problem on the first line, which implies that I have pointed PyC
We actually no need of having "import sys" in pycharm. You can find this in 'os' module.
For example,
import os Sys = os.sys print("say , Good Bye") Sys.exit(0) print("Sorry, i am not exited")
I hope it will work.