Home >Backend Development >Python Tutorial >How spyder runs code

How spyder runs code

coldplay.xixi
coldplay.xixiOriginal
2021-03-08 11:21:3329733browse

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.

How spyder runs code

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

How spyder runs code

2. Add a breakpoint by double-clicking the left mouse button or pressing F12.

How spyder runs code

3. Note that this button means run

How spyder runs code

4. This means debugging

How spyder runs code

5. If you want to view the value of a variable, you need to do this

How spyder runs code

6. The debugging results have appeared in the screenshot

How spyder runs code

##Related free learning recommendations:

python video Tutorial

The above is the detailed content of How spyder runs code. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn