Classes and the command line
rosuav at gmail.com
Mon Oct 27 04:24:55 CET 2014
On Mon, Oct 27, 2014 at 2:18 PM, Rustom Mody <rustompmody at gmail.com> 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.
> 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
More information about the Python-list