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

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.

主站蜘蛛池模板: 文山县| 昆山市| 隆安县| 巧家县| 通渭县| 贵港市| 云阳县| 上犹县| 枝江市| 襄汾县| 怀柔区| 广宗县| 天气| 儋州市| 曲阳县| 林州市| 航空| 临夏县| 吴川市| 三河市| 正蓝旗| 大城县| 沈丘县| 兴业县| 遂宁市| 安远县| 武义县| 安新县| 涟源市| 祁东县| 清镇市| 西畴县| 屏东县| 衢州市| 兰坪| 舞钢市| 涡阳县| 蒲江县| 新巴尔虎左旗| 红原县| 虞城县|