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

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.

主站蜘蛛池模板: 基隆市| 阿拉善右旗| 开阳县| 宣武区| 彭阳县| 英吉沙县| 海丰县| 鄄城县| 巴马| 许昌县| 亳州市| 普洱| 莒南县| 行唐县| 卓资县| 常宁市| 姚安县| 霞浦县| 姚安县| 大同市| 卢氏县| 白河县| 镇远县| 鸡东县| 黄石市| 锡林郭勒盟| 芷江| 施甸县| 漳浦县| 观塘区| 若尔盖县| 西林县| 南安市| 石棉县| 乃东县| 南江县| 南漳县| 叙永县| 沂源县| 张家港市| 化隆|