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

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.

主站蜘蛛池模板: 轮台县| 漯河市| 贵德县| 宣城市| 山西省| 望谟县| 来安县| 田阳县| 繁峙县| 宁明县| 马公市| 博爱县| 宜兰县| 珲春市| 长顺县| 和顺县| 长垣县| 积石山| 锡林浩特市| 石嘴山市| 大宁县| 时尚| 佳木斯市| 镇平县| 永丰县| 枞阳县| 含山县| 顺义区| 股票| 石棉县| 获嘉县| 铁岭县| 安图县| 紫阳县| 安龙县| 株洲县| 富锦市| 乃东县| 友谊县| 沙田区| 洛川县|