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

2013-12-03 Thread Arun Persaud
Hi On 12/03/2013 03:44 AM, Rasmus wrote: >> [ipython in org mode] > For Org you could do: > > (setq org-babel-python-command "ipython --no-banner --classic > --no-confirm-exit") > > You should now be able to do > > #+BEGIN_SRC python :results output > %timeit 1+1 > #+END_SRC >[...] nice ;)

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

2013-12-03 Thread Andreas Röhler
Am 03.12.2013 07:08, schrieb Arun Persaud: Hi 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 a

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

2013-12-03 Thread Rasmus
Arun Persaud writes: > Hi > > 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

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

2013-12-02 Thread Arun Persaud
Hi 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 like #+BEGIN_SRC i