title: How to see which part of the code is running in terminal
body: <p>When you run a python script from terminal and before it completes running of you control + c  it, it gives a traceback where the code was currently running. Is it possible to see which part of a code is running without terminating it. </p>