Home >Backend Development >Python Tutorial >How spyder runs code
How to run code with spyder: first enter the code in Spyder and double-click the left mouse button to add a breakpoint; then click the run button and click debug; the final debugging results appear in the screenshot.
The operating environment of this article: Windows 7 system, spyder4.0.1 version, Dell G3 computer.
How to run the code with spyder:
1. First, the code has been entered in Spyder
2. Add a breakpoint by double-clicking the left mouse button or pressing F12.
3. Note that this button means run
4. This means debugging
5. If you want to view the value of a variable, you need to do this
6. The debugging results have appeared in the screenshot
##Related free learning recommendations:
The above is the detailed content of How spyder runs code. For more information, please follow other related articles on the PHP Chinese website!