Enable Python interactive console in PyCharm

Python has an interactive console that enable to explore your code after executing the script or the   command.
If you run your code without interactive option you will see this message:

Process finished with exit code 0

To activate it, go to Run/Edit Configurations ... remove all configurations (to the right of plus green icon) and write -i on interpreter options from Defaults/Python.

Also, you can enable Show command line afterwards checkbox, but your script may crash with this  following error, when try to read a string from the keyboard.

Exception in thread ServerThread (most likely raised during interpreter shutdown):

Process finished with exit code 1

Enjoy it!


  1. I have completely read your post and the content is crisp and clear. Thank you for posting such an informative article, I have decided to follow your blog so that I can myself updated. Python Training in Chennai

  2. Those rules moreover attempted to wind up plainly a decent approach to perceive that other individuals online have the indistinguishable enthusiasm like mine to get a handle on incredible arrangement more around this condition

    python training in bangalore|

  3. This comment has been removed by the author.


Post a Comment

Popular posts from this blog

How to fix Android when developer options are not available for this user

from: can't read /var/mail/ in Python scripts

Fix "Set scan parameters failed: Input/output error" on Ubuntu 16.04