You can use the trace module:
python -m trace -t your_script.py
The command line above will display every line of code as it is executed.
You can use the trace module:
python -m trace -t your_script.py
The command line above will display every line of code as it is executed.