[Idle-dev] Running a program

Guido van Rossum guido@python.org
Wed, 05 Jun 2002 17:04:05 -0400


> Python has a neat feature in the shell whereby hitting enter on a line
> before the I/O mark causes it to be copied to the I/O mark.  This is
> very useful for testing - you don't have to re-type the test
> expressions :)
> 
> I realize these expressions could be put in the edit window but they
> tend to change rapidy as development proceeds and I just leave them
> behind in the shell, no clean up necessary.  I'd hate to see that
> feature go away.
> 
> We had discussed setting the old output off by changing its color,
> maybe dark red, and also possibly by drawing a separator between runs.

Hm, you're right.  Maybe "empty shell window" should be an option in
the control-F5 dialog?

--Guido van Rossum (home page: http://www.python.org/~guido/)