%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,
gan0...@gmail.com 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
spyderlib+...@googlegroups.com.
> To post to this group, send email to
spyd...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/spyderlib?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>