python文档之-Tutorial

The Python Tutorialpython教程

python文档之-Tutorial_第1张图片

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解释器(python.exe)and the extensive大量的standard library arefreely available免费获取in source or binary form以源代码或者二进制形式for all major platforms from the Python Web site,https://www.python.org/,在所有主流平台,python解释器和大量的标准库都可以从python官网以源代码或者二进制形式免费获取和自由发布and may be freely distributed. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation.python官网也提供了许多免费的第三方组织发布的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解释器轻松获得实践经验,但所有的是示例都是独立的,所以你也可以离线阅读。

For a description of standard objects and modules, seeThe Python Standard Library.The Python Language Reference参考、参考书目,介绍信gives a more formal正式的definition定义,解说of the language.如果需要了解标准对象和模块,可以通过查阅python标准库、python语言参考文档获取更加正式的说明。To write extensions in C or C++, readExtending andEmbedding 集成the Python InterpreterandPython/C API ReferenceManual手册. There are also several books covering Python in depth.如果想要通过C或者C++编写扩展,请阅读python解释器扩展和集成章节以及python/C API参考手册。

This tutorial does not attempt to be comprehensive综合的and cover every single feature, or even every commonly used feature. Instead, it introduces many of Python’s most noteworthy features, and will give you a good idea of the language’s flavor and style. After reading it, you will be able to read and write Python modules and programs, and you will be ready to learn more about the various Python library modules described inThe Python Standard Library.

本教程不会尝试完全覆盖python的每一个特性甚至是一些经常使用的特性。相反的,它介绍了许多python最值得注意的特性,并且会让你对python语言的风格和特色有一个良好的认知。读完之后,你能够阅读和书写python模块和程序,并为日后通过python标准库进一步学习更多的python模块库做好准备。

TheGlossary词汇表is also worth going through.

词汇表也是值得阅读的。

你可能感兴趣的:(python文档之-Tutorial)