0

Suppose that we have this structure in PyCharm:

enter image description here

As we can see I inserted rb as bunch of random numbers in editor but when I insert rb in Python Console it will return an error. I don't have this problem in Visual Studio python interactive window and Enthought Canopy. What should I do to have same behavior in PyCharm?

Eghbal
  • 3,892
  • 13
  • 51
  • 112
  • 1
    You could always add the `-i` flag to make the program interactive after you run it. It is a short term fix. – IronManMark20 May 22 '15 at 22:50
  • Where should I add `-i`? – Eghbal May 23 '15 at 05:23
  • 1
    Oh, sorry, go to Run->Edit Configurations->Interpreter Options. I also will point you to [the docs](https://www.jetbrains.com/pycharm/help/run-debug-configuration-python.html) and [this SO thread](https://stackoverflow.com/questions/19207019/interacting-with-program-after-execution) – IronManMark20 May 23 '15 at 16:13

0 Answers0