[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Babel python question: use of ipython and %cpaste

From: Andreas Röhler
Subject: Re: [O] Babel python question: use of ipython and %cpaste
Date: Tue, 03 Dec 2013 13:48:06 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Am 03.12.2013 07:08, schrieb Arun Persaud:

being able to use python as a source block is great, but I often stumble
over the fact that when using sessions you have to treat empty lines in
a special way (i.e. as the end of an indentation block).

I was wondering if it would be easy to create an ipython mode, something

#+BEGIN_SRC ipython ...

where the content for a session is copied over to an ipython buffer
using the ipython magic %cpaste. This way empty lines should be treated

Using the magic command, as shown in Rasmus' answer, should work.
If not, as for python-mode.el, please file a bug-report at


reply via email to

[Prev in Thread] Current Thread [Next in Thread]