trying idle

Rustom Mody rustompmody at
Thu Oct 9 14:53:36 CEST 2014

On Thursday, October 9, 2014 2:56:56 PM UTC+5:30, Terry Reedy wrote:
> > Specific:
> > Is there a way to cut-paste a snippet from the interpreter window
> > containing ">>> " "... " into the file window and auto-remove the prompts?
> > [I have a vague recollection of Terry showing somethin...]

> I doubt I said anything.  I have said there is a tracker issue for the 
> feature (something similar to dedent).  I would like to add a general 
> facility for users to define reformat/transform functions to do 
> precisely what they want.  In particular, what to do with output lines?

I was looking for something more simplistic:

eg in emacs there are rectangle commands; also following MS office there are
'column' commands.  Using either of these its a couple of keystrokes/clicks
to 'de-prompt' a region/selection all of whose lines start with ">>> " or
"... "

More information about the Python-list mailing list