On 01.07.20 18:55, Philip Blagoveschensky wrote:
#+begin_src python :session bug_report
def foobar():
    for i in range(5):
        pass
    print "hello world"

foobar()
#+end_src


Works here like this:

#+begin_src python :results output
def foobar():
    for i in range(5):
        pass
    print("hello world")

foobar()
#+end_src

#+RESULTS:
: hello world

GNU Emacs 28.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5, cairo version 1.14.0) of 2020-06-10



Reply via email to