After making the GNU Octave module interactive, we added interactivity to the Python module as well! The technical procedure was different from Octave, because Octave is handled in a different way. The way interactivity is achieved in Python is based on running simultaneous parallel threads. Skipping technical details, here is a brief illustration. We execute a code that asks the user to enter two numbers, and adds them together:
After pressing the green arrow button:
After entering number A and pressing OK:
After entering number B and pressing OK: