Try %%paste

On Saturday, April 27, 2013 at 11:24:31 AM UTC-4, Carlos Córdoba wrote:
>
> %paste magic is only defined for the terminal version of IPython, not 
> for its graphical frontends (i.e. the notebook and qtconsole) because 
> they don't need it. 
>
> Just paste the code with Ctrl+C and you'll be fine. Remember that can 
> also select some text in the Editor and send it to IPython with F9. 
>
> Cheers, 
> Carlos 
>
> El 26/04/13 13:19, [email protected] <javascript:> escribió: 
> > When I open an IPython interpreter from the console, %paste and 
> > %cpaste both work. 
> > 
> > But with I start a new IPython kernel from the console, I get the 
> > error message 
> > 
> > ERROR: Line magic function `%paste` not found. 
> > 
> > I'm using the IPython kernel instead of the interpreter, since that 
> > seems to be the only startup option. 
> > 
> > Since I do a lot of pasting, I'd welcome any advice 
> > 
> > Thanks, 
> > 
> > Bill 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "spyder" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/spyderlib?hl=en. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to