Make Python Console / Django Console interactive interpreter print out the value automatically, rather than having to call "print()" [example included]

Answered
for i in range(10):
    i

I want to be able to do that here:

and it would print out the value of `i` automatically instead of forcing me to print it manually. See above how it did not print out the value of `i`? Well, here's what I want to happen instead.

This is the default behavior of Python IDLE. I like it. My question is, in:

Settings > Build, Execution, Deployment > Console > Python Console or Django Console

I see "Interpreter options". Is there an interpreter options command that would give me this immediate printing of variables in the interactive environment?

0
1 comment

Please sign in to leave a comment.