Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78889

Re: trying idle

Newsgroups comp.lang.python
Date 2014-10-09 05:53 -0700
References <86ae9246-1b3f-427b-921f-10b8b416e507@googlegroups.com> <mailman.14711.1412846803.18130.python-list@python.org>
Message-ID <08cfc924-af98-4c8b-a9b7-c6534d1585d7@googlegroups.com> (permalink)
Subject Re: trying idle
From Rustom Mody <rustompmody@gmail.com>

Show all headers | View raw


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
"... "

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

trying idle Rustom Mody <rustompmody@gmail.com> - 2014-10-08 23:52 -0700
  Re: trying idle Terry Reedy <tjreedy@udel.edu> - 2014-10-09 05:26 -0400
    Re: trying idle Rustom Mody <rustompmody@gmail.com> - 2014-10-09 05:53 -0700
    Re: trying idle Rustom Mody <rustompmody@gmail.com> - 2014-10-09 06:12 -0700
      Re: trying idle Terry Reedy <tjreedy@udel.edu> - 2014-10-09 16:49 -0400
        Re: trying idle Rustom Mody <rustompmody@gmail.com> - 2014-10-09 19:03 -0700
    python3 on mac-mavericks (was trying idle) Rustom Mody <rustompmody@gmail.com> - 2014-10-16 06:29 -0700
      Re: python3 on mac-mavericks (was trying idle) MRAB <python@mrabarnett.plus.com> - 2014-10-16 15:04 +0100
      Re: python3 on mac-mavericks (was trying idle) Chris Angelico <rosuav@gmail.com> - 2014-10-17 02:23 +1100
        Re: python3 on mac-mavericks (was trying idle) Grant Edwards <invalid@invalid.invalid> - 2014-10-16 16:23 +0000
          Re: python3 on mac-mavericks (was trying idle) Chris Angelico <rosuav@gmail.com> - 2014-10-17 03:33 +1100
      Re: python3 on mac-mavericks (was trying idle) Cameron Simpson <cs@zip.com.au> - 2014-10-17 08:48 +1100
        Re: python3 on mac-mavericks (was trying idle) Rustom Mody <rustompmody@gmail.com> - 2014-10-16 18:08 -0700
          Re: python3 on mac-mavericks (was trying idle) Cameron Simpson <cs@zip.com.au> - 2014-10-17 16:03 +1100
  Re: trying idle wxjmfauth@gmail.com - 2014-10-09 05:21 -0700
    Re: trying idle Mark H Harris <harrismh777@gmail.com> - 2014-10-10 02:54 -0500
  Re: trying idle random832@fastmail.us - 2014-10-09 08:47 -0400
    Re: trying idle Mark H Harris <harrismh777@gmail.com> - 2014-10-10 02:53 -0500
      Re: trying idle random832@fastmail.us - 2014-10-10 15:32 -0400
  Re: trying idle Mark H Harris <harrismh777@gmail.com> - 2014-10-10 03:08 -0500

csiph-web