S
S
smartass1112013-10-23 23:05:19
Python
smartass111, 2013-10-23 23:05:19

PyCharm question

Good evening
I started working with pycharm - I really lack a thing like in PyScripter - that is, after the Run script, instead of exiting, the interpreter window remains, all imported and current classes / functions are available in it, and there is also auto-expanding of object methods (as in the code editor) .
In PyCharm, if you insert the -i option to launch the interpreter, a window remains, you can write into it, there is no auto-opening, and there is no pancake Up / Down input history (without this, it’s generally a disaster).
Maybe something can be done in this direction?

after running the script it looks like this

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
armo, 2013-10-24
@smartass111

Put a breakpoint in the right place (in your case, on the last line), run the script in Debug mode, go to the Console tab , click on the Show command line icon . Hints and history will be available.

screenshot

A
AlexeyRU, 2013-10-23
@AlexeyRU

Tools -> Run Python Console
seems to support input history
If you use Django, then there is such a thing: Tools -> Run Django Console

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question