I was wondering if it is possible to export command outputs right after the commands in the org-mode
. So instead of:
#+BEGIN_SRC python :results output :exports results
print(1)
print('a')
#+END_SRC
#+RESULTS:
: 1
: a
the results should be:
#+RESULTS:
print(1)
1
print('a')
a
I think not much can be done from the Emacs side as Org mode simply captures the standard output from Python interpreter. I wonder if the Python interpreter can be made to echo the commands as well as the output.