This isn't working for me on Org-8.0 (from that Worg page): #+begin_src python :session def foo(x): if x>0: return x+1 else: return x-1 foo(1) #+end_src #+RESULTS: : None
This isn't working for me on Org-8.0 (from that Worg page):
#+begin_src python :session def foo(x): if x>0: return x+1 else: return x-1
foo(1) #+end_src
#+RESULTS: : None