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!

Comments

  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

    ReplyDelete
  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|

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
    fire and safety course in chennai

    ReplyDelete
  5. Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
    health and safety course in chennai

    ReplyDelete
  6. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.
    Selenium Training Classes

    ReplyDelete

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