[Python-ideas] A better interactive prompt

Terry Reedy tjreedy at udel.edu
Fri Oct 28 09:59:10 EDT 2016


On 10/25/2016 5:13 PM, Paul Moore wrote:

> The
> natural unit of interaction at the command line is the single line. To
> the extent that (for example) fixing a mistake in a multi-line
> construct at the command line is a real pain.

Try IDLE.  The unit of interaction is the statement.  One writes, edits, 
and submits entire statements.  PREV recalls the previous statement as a 
whole and one edits the entire statement before resubmitting.  For me, 
for Python, statements are the natural unit of interaction.

-- 
Terry Jan Reedy



More information about the Python-ideas mailing list