Reputation: 1962
I'm new with python 3.3.
I'm using intellij IDEA 12.1.6.
How can I open the interpreter window, the one with the '>>>' prompt?
Thanks
Upvotes: 13
Views: 11662
Reputation: 1
In Intellij (community edition) in terminal (I use Linux, this might differ in your case) I type python3
and it works the same way as in pycharm. With "_" as return value etc. I find this rather useful.
Upvotes: 0
Reputation: 28989
I am using IntelliJ IDEA 13.1.4 Ultimate with the JetBrains Python Plugin 3.4.135.24.
After installing the plugin and restarting the IDE, I can open the iPython console exactly the same way as in PyCharm, i.e. clicking Tools
-> Run Python Console
in the menu.
Another option is by selecting some code in a .py
file, right clicking and choosing Execute Line/Selection in Console
or pressing Alt + Shift + E. If the console has not been opened already, it will open now.
Using the console integrated in the IDE has a few advantages over running iPython alongside it, as listed at in the linked PyCharm documentation page.
Upvotes: 19
Reputation: 11
If you want to program python exclusively you may have a look at Intellij's little brother PyCharm. It is specifically designed for python development: http://www.jetbrains.com/pycharm/
Under PyCharm you can open an interactive Python session by selecting Menu->Tools->Run Python Console...
Upvotes: 1