emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] ob-python :results value pp does not working


From: Jack Kamm
Subject: Re: [BUG] ob-python :results value pp does not working
Date: Thu, 30 Dec 2021 09:11:26 -0800

For non-session Python blocks, you need to use "return" on the value, as
if you are in a function.

The following works for me:

#+begin_src python :results value pp
  dic = {'key1': 1, 'b': 2}
  return dic
#+end_src

#+RESULTS:
: {'b': 2, 'key1': 1}



reply via email to

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