官术网_书友最值得收藏!

Spyder IDE

The Spyder IDE offers a complete environment for Python development, including a text editor, variable explorer, IPython console, and optionally, a command prompt, as seen in the following screenshot:

On the left half of the screen is the Editor window. This is where you will write your Python code. Once we are finished with the scripts, we will run them using the green Play button in the upper toolbar.

The right half of the screen is divided horizontally into two parts. The top-right window, in its most useful form, functions as a Variable explorer (as shown). This window lists the name, type, size, and value of every variable that is currently in your Python environment (for example, in memory). By clicking on the tabs at the bottom of the window, you can also change the window to a File explorer or explore Python's helper documentation.

The bottom-right window is the console. It features a Python command prompt. This is useful for running single Python commands; it can also be used to run Python scripts and for other functions. The third option for this window is a history log of previously entered commands.

We will not use Spyder extensively in this book; however, it is good to know how it works in case you would like to use it for later projects.

主站蜘蛛池模板: 崇礼县| 文昌市| 略阳县| 白水县| 海林市| 望谟县| 东阳市| 陇西县| 宁德市| 铁岭县| 白城市| 洞头县| 安吉县| 青岛市| 安庆市| 嘉峪关市| 和静县| 麦盖提县| 汉中市| 罗平县| 都匀市| 祁连县| 皋兰县| 阳东县| 霍林郭勒市| 抚州市| 芷江| 当阳市| 洛宁县| 海门市| 夏津县| 邯郸县| 揭东县| 宁夏| 太谷县| 开江县| 乌拉特后旗| 昆明市| 汽车| 南靖县| 竹溪县|