Classes and the command line

Chris Angelico rosuav at
Mon Oct 27 04:24:55 CET 2014

On Mon, Oct 27, 2014 at 2:18 PM, Rustom Mody <rustompmody at> wrote:
> On Monday, October 27, 2014 8:40:48 AM UTC+5:30, Chris Angelico wrote:
>> On Mon, Oct 27, 2014 at 2:06 PM, Ben Finney  wrote:
>> > Right. There is line-by-line history, and editing enabled with the
>> > "readline" plug-in. (This is an advantage of using a programmer-friendly
>> > operating system, which MS Windows sadly is not.)
>> You can get block-by-block history by using Idle. I find that fairly
>> convenient for manipulating class/function definitions.
>> ChrisA
> Umm... Nice!
> A bit inconsistent in that the '...' does not appear.
> But thats good; makes copy|cut-pasting from interpreter to file
> a mostly trivial operation.

It's inconsistent only because the default sys.ps2 is those dots,
which aren't necessary in Idle. You could make it consistent by simply
changing sys.ps2.


More information about the Python-list mailing list