Re: Ignore leading '>>>' and ellipsis?

2010-01-15 Thread r0g
Javier Collado wrote: > Hello, > > I think that's exactly what the cpaste magic function does. Type > 'cpaste?' in your IPython session for more information. > > Best regards, > Javier > > 2010/1/14 Reckoner : >> Hi, >> >> I am studying some examples in a tutorial where there are a lot of >>

Re: Ignore leading '>>>' and ellipsis?

2010-01-14 Thread Rhodri James
On Thu, 14 Jan 2010 17:13:54 -, Reckoner wrote: I am studying some examples in a tutorial where there are a lot of leading >>> characters and ellipsis in the text. This makes it hard to cut and paste into the IPython interpreter since it doesn't like these strings. Is there another interpr

Re: Ignore leading '>>>' and ellipsis?

2010-01-14 Thread Javier Collado
Hello, I think that's exactly what the cpaste magic function does. Type 'cpaste?' in your IPython session for more information. Best regards, Javier 2010/1/14 Reckoner : > > Hi, > > I am studying some examples in a tutorial where there are a lot of > leading >>> characters and ellipsis in th

Ignore leading '>>>' and ellipsis?

2010-01-14 Thread Reckoner
Hi, I am studying some examples in a tutorial where there are a lot of leading >>> characters and ellipsis in the text. This makes it hard to cut and paste into the IPython interpreter since it doesn't like these strings. Is there another interpreter I could use that will appropriately ignore an