The Python Tutorialpython教程
The Python Tutorialpython教程
Python is an easy to learn, powerful programming编程language. It has efficient high-level data structures数据结构and a simple but effective approach途径to object-oriented面向对象programming. Python’s elegant syntax语法and dynamic typing动态的类型, together with its interpreted解释nature, make it an ideal理想的language for scripting and rapid application development in many areas on most platforms.python 优雅的语法、动态的数据类型和它的自然的解释使它成为理想的脚本编写和快速开发应用语言。
The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). Python is also suitable as an extension language for customizable applications.使用 C 或 C++(其他可以通过 C 调用的语言)可以很容易的为 Python 解释器扩展新函数和数据类型。Python 还可以被用作定制应用程序的一门扩展语言。
This tutorial introduces the reader informally to the basic concepts and features of the Python language and system. 本教程非正式的向读者介绍了python 语言及其体系的基本概念和特征。It helps to have a Python interpreter handy for hands-on experience, but all examples are self-contained, so the tutorial can be read off-line as well.它有助于借助Python解释器轻松获得实践经验,但所有的是示例都是独立的,所以你也可以离线阅读。
本教程不会尝试完全覆盖python的每一个特性甚至是一些经常使用的特性。相反的,它介绍了许多python最值得注意的特性,并且会让你对python语言的风格和特色有一个良好的认知。读完之后,你能够阅读和书写python模块和程序,并为日后通过python标准库进一步学习更多的python模块库做好准备。
词汇表也是值得阅读的。