[IPython-dev] %paste
Fernando Perez
Fernando.Perez at colorado.edu
Mon Jan 23 21:12:14 EST 2006
Ville Vainio wrote:
> On 1/23/06, Fernando Perez <Fernando.Perez at colorado.edu> wrote:
>
>
>>You can't "paste in two parts" if the string is in the middle of code, as a
>>print statement.
>
>
> Actually, you can:
>
> 1. Paste all lines before --
> 2. Paste all lines after --
> 3. Enter -- to terminate the block.
Yes, but then you lose the --, which was part of what you were trying to paste
in the first place. If the presence of that '--' in the string is all that
stands between humanity and your program triggering planetary nuclear
destruction, imagine the consequences!
> Not that it matters, I already committed a configurable version to SVN
> (-s option). :-)
Good. The planet has been saved. We can all sleep now.
f
More information about the IPython-dev
mailing list