Arun Persaud apers...@lbl.gov 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
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
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 ;) that works
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
[Complete babel noob here]
Following the babel doc
http://orgmode.org/worg/org-contrib/babel/intro.html#library-of-babel
I wrote this
* Head
#+name: ppp :results value
#+begin_src python
import time
print(Hello, today's date is %s % time.ctime())
print('Two plus two is')
return 2 + 2
#+end_src
Rustom Mody rustompm...@gmail.com writes:
[Complete babel noob here]
Following the babel doc
http://orgmode.org/worg/org-contrib/babel/intro.html#library-of-babel
I wrote this
* Head
#+name: ppp :results value
#+begin_src python
import time
print(Hello, today's date is %s %