Resume code execution from code.interact() in Python
debugging, python, python-2.7
Solution
It's the same way you exit any Python interpreter session: send an end-of-file character.
That's Ctrl-D on Linux or Ctrl-Z Enter on Windows.
Problem
After opening an interactive console while debugging using ``` code.interact(local=locals()) ``` How can I resume code execution. I have checked the docs for the 'code' module and search stack overflow but cannot find anything.