Re: [spyder] %paste not working in IPython kernel

2,073 views
Skip to first unread message

Carlos Córdoba

unread,
Apr 27, 2013, 11:24:31 AM4/27/13
to spyd...@googlegroups.com
%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.
>
>

Carlos Córdoba

unread,
Apr 27, 2013, 11:26:32 AM4/27/13
to spyd...@googlegroups.com
Sorry, I meant Ctrl+V

El 27/04/13 10:24, Carlos Córdoba escribió:

Qian He

unread,
Apr 13, 2016, 1:24:54 PM4/13/16
to spyder
Try %%paste
Reply all
Reply to author
Forward
0 new messages