Comment Comment by hirple org-babel might work here. There are also repl keybindings in python mode in emacs. parent hirple 5 years ago