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

Introduction

One of the benefits of the Python programming language is that it is interpreted, not compiled. This means that Python code is processed when it is called, rather than having to be pre-compiled before use. Because of this, interpreted languages generally have an interactive shell, allowing users to test code and otherwise have immediate feedback without having to create a separate source code file.

Of course, to get the most functionality out of a programming language, having permanent code files is necessary. When using an interactive prompt, the code lives in RAM; once the interactive session is closed, that code is lost. Thus, using an interactive prompt is a great way to quickly test programming ideas, but you wouldn't want to run a full-blown program from it.

This chapter will talk about using the Command Prompt to launch programs, as well as Python's functionality using the interactive shell. Special functionality with the Windows operating system will be discussed, and we will end by talking about alternative Python shells that developers may be interested in trying.

主站蜘蛛池模板: 山东| 四川省| 胶南市| 鲁山县| 江都市| 保亭| 广东省| 绥滨县| 本溪| 富蕴县| 鹿邑县| 东乡族自治县| 重庆市| 保定市| 巫溪县| 洱源县| 额济纳旗| 乡城县| 科技| 含山县| 蓝山县| 特克斯县| 三门县| 仁化县| 姚安县| 伊春市| 乐清市| 金溪县| 灵丘县| 北票市| 特克斯县| 施秉县| 嘉禾县| 苍山县| 襄汾县| 施甸县| 武定县| 鹿邑县| 永吉县| 田阳县| 延寿县|