[Q] ipython: Multiple commands on the same line and newlines

Chris Angelico rosuav at gmail.com
Sat Apr 16 12:33:05 EDT 2011

On Sun, Apr 17, 2011 at 2:29 AM, Andrea Crotti
<andrea.crotti.0 at gmail.com> wrote:
> for
> x = 10
> what's the difference for you if it gets evaluated before or after?

I have the same issue in IDLE sometimes, and the reason it's annoying
relates to the up-arrow key (Alt-P in IDLE). I can retrieve one entire
command, but if that command requires a "prefix statement" to set
things up (like initializing a dictionary to empty), that has to be

Chris Angelico

More information about the Python-list mailing list