emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Fwd: Fwd: run python from org, draft


From: Gary Oberbrunner
Subject: [O] Fwd: Fwd: run python from org, draft
Date: Fri, 29 Mar 2013 16:11:18 -0400

On Fri, Mar 29, 2013 at 11:35 AM, John Hendy <address@hidden> wrote:


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

Try applying my patch from this list a few days ago; I think it will work then.  Without it, session mode is totally broken (I think). 

--
Gary

reply via email to

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