[IPython-dev] How to paste large code text using %cpaste in ipython?
oren.a4 at gmail.com
Wed Oct 1 07:35:29 EDT 2014
I am having the same problem as the one described in the following link
"I'm trying to paste code into ipython using %cpaste, but whenever the
pasted code is too large (almost 100-150 lines of code), it stops actually
reading the input buffer and therefore gives me an error similar to:
File "<ipython-input-2-f23a5343110f>", line 133
return(SyntaxError: unexpected EOF while parsing
If it matters, I'm using a bash inside an emacs and running ipython3 -i from
*EDIT:* interestingly if I paste half of the code, hit enter, paste the
second half, press enter, then --, then enter, it processes it properly.
Is there a way to fix it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev