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}
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}