Consider a block of python code in an
#+begin_src python num1 = input("Enter a number: ") num2 = input("Enter another number: ") result = float(num1) + float(num2) print(result) #+end_src
If I were to open a similar block of
org-edit-special I could use
ess-eval-line to run this line-by-line or
ess-eval-region to run a highlighted region.
How can I get similar functionality for blocks of code, written in python?