This story was originally published on HackerNoon at:
https://hackernoon.com/repl-while-it-works-inspect-a-running-python-program-without-pausing-it.
Use the python REPL or debugger console while a program is running, without interrupting or pausing execution. Exploit threading multitasking.
Check more stories related to data-science at:
https://hackernoon.com/c/data-science.
You can also check exclusive content about
#python-programming,
#python-developers,
#repl,
#python-pdb,
#python,
#python-inspection,
#debugging,
#coding, and more.
This story was written by:
@dakra. Learn more about this writer by checking
@dakra's about page,
and for more stories, please visit
hackernoon.com.
Usually, without interrupting it, you cannot interactively debug, call functions in, or change the values of variables in a running python program. This article’s technique removes the limitation.