8 Respostas
+ 7
If you are using an IDE, you can use the debug mode to run your code ( most IDE provide this mode). You can set breakpoints, or you can go through the code step by step. During this debug mode you can see which line of code is executed in next step, and you can see the content of your varibales. The complexity of the debug mode depends on what IDE you are using.
+ 3
This is a link to an external site which will show your code's actions
http://www.pythontutor.com/visualize.html#mode=edit
+ 3
Thanks sir
+ 3
You may find answer in http://www.dalkescientific.com/writings/diary/archive/2005/04/20/tracing_python_code.html
+ 1
Thank you
0
Import trace is not working for me
0
Will u please elaborate how to use import trace in any program
0
By using trace method you can execute your code line by line
https://pymotw.com/2/sys/tracing.html