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. Thank you Admin!
    1 crore projects center specializes in Embedded System Training in chennai

  4. Really enjoying your post, you have a great teaching style and make these new concepts much easier to understand.Thanks.
    CloudSim Training in Chennai | Core Java Training in Chennai.

  5. This comment has been removed by the author.

  6. Thanks for posting useful information.You have provided an nice article, Thank you very much for this one.I hope this will be useful for many people and i am waiting for your next post keep on updating these kinds of knowledgeable things...Really it was an awesome article.very interesting to read..please sharing like this information.

    Hibernate Training in Chennai | Vlsi Training in Chennai.


Post a Comment

Popular posts from this blog

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

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

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