How do I terminate a multi-line command in the Python console?

E.g.

for i in 'abc':

...    print(i)

...

...

...

I have tried double enter but it does not work

2 comments
Comment actions Permalink

rujero wrote:

E.g.

for i in 'abc':

...    print(i)

...

...

...

I have tried double enter but it does not work

Hi Ruggero,

I've had to do a <Shift>+<Tab> and then hit <Enter>.   It's hokey, but it works --- at least for me.  Intuitively I'd think I would just hit <Enter> twice and be done with it, but that's not the case.

Cheers,

Rob

0
Comment actions Permalink

Thanks, it works! I couldn't have found that in a zillion years...

0

Please sign in to leave a comment.