If I run the following code block:
#+BEGIN_SRC python :results output print(" /|") print(" / |") print(" / |") print("/___|") #+END_SRC I get the result as expected:
#+RESULTS: : /| : / | : / | : /___| But if I now run this as part of a session, the result breaks:
#+BEGIN_SRC python :session *Python* :results output print(" /|") print(" / |") print(" / |") print("/___|") #+END_SRC #+RESULTS: : /| : / | : / | : /___| This is what I have in init.el:
;; Babel languages (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (R . t) (latex . t) (shell . t) (php . t) (applescript . t) (python . t))) ;; Fix Warning "readline" message (setq python-shell-completion-native-enable nil) Any ideas?
:sessiontakes an argument (it defaults it to something if it is left off). But I think your answer is correct.