emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Problem with python source block


From: Van L
Subject: Re: [O] Problem with python source block
Date: Sat, 26 May 2018 20:00:01 +1000

> Doyley, Marvin M. writes:
> 
> I get an error

I get a reproduction of your error outside of Emacs and Org Mode.

Adapting an example from the list’s archive, the following works.

#+BEGIN_SRC elisp :results none
  (org-babel-do-load-languages
   'org-babel-load-languages
   '((python . t)))
#+END_SRC

#+BEGIN_SRC python :results output
  a = 5
  b = 16
  print(a + b)

#+END_SRC

#+RESULTS:
: 21




reply via email to

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