Embed multi-line snipptes in IPython

I have used IPython in the past and I used to copy and paste the multilines command, for example. for loop in IPython. Working on my new PC after installing Python (x, y) 2.7.2.1 I can insert fragments of fragments by right-clicking / Edit / Paste, but not using CTRL + P, as I did. When using CTRL + P, only the first row for a multi-line fragment is inserted. Can someone help please? I looked through the settings and documentation to no avail.

Thanks Paolo

+3
source share
2 answers

Type% paste in the IPython command line.

+11
source

%cpaste IPython ( Django). , %quickref.

+1

All Articles