Re: ignoring blank lines in input

Guido.van.Rossum@cwi.nl
Fri, 27 May 1994 10:33:40 +0200

> It seems that people are more concerned with changing the
> syntax of Python when entering code interactively than when actually
> writing a module full of code and then executing it. The whole
> problem with empty lines (which has been brought up repeatedly) is
> only relevant when entering code interactively.

But why on earth would you WANT to enter blank lines interactively?

> Can't we implement something like ctrl-q (or whatever,
> as long as it's not alredy in use) that does this for terminating
> blocks?

OH PLEASE NO! The Return/Enter key is nice and big and my pinkie is
already on it when I've entered the last line, so it only takes a
microsecond or two more to hit it again to send the command to the
interpreter. Any other solution would probably require a control key
plus some other key (since all single keys present on every keyboard
are already taken).

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>