[Python3.x官方文档翻译]ThePythonTutorialPython教程

王朝学院·作者佚名  2016-08-27
窄屏简体版  字體: 小  |  中  |  大  |  超大  

Python is an easy to learn, powerfulPRogramming 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 rapidapplicationdevelopment in many areas on most platforms.

Python是一种易学高效的编程语言。她有着高效的高级数据结构和一种简单但是有效的面向对象的编程方法。Python的简单的语法和动态的类型,同时她有着自然的语言解释,这使她在很多的方面成为一种脚本开发和快速编程的平台

The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python Web site, https://www.python.org/, 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的官方网站:https://www.python.org/免费获得,以及你可以自由的传播这些东西。在这个网站同时包含有许多人提供的面对Python 3的模块、程序和工具以及各种附加的文档的建议。

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

Python的解释器可以通过使用C和C++语言(或者其他可以通过C语言调用的编程语言)定义新的函数和数据类型实现来实现扩展。Python也是一种可适应的可扩展语言以适用于各种定制应用。

This tutorial introduces the reader informally to the basic concepts and features of the Python language and system. 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的解释器,并且,所有的例程都包含在这篇教程里,所以这篇教程可以离线阅读

For a description of standard objects and modules, see The Python Standard Library. The Python Language Reference gives a more formal definition of the language. To write extensions in C

or C++, read Extending and Embedding the Python Interpreter and Python/C API Reference Manual. There are also several books covering Python in depth.

如果你想看更多的关于标准对象和模型的东西,《The Python Standard Library》《The Python Language Reference》这两篇文章给出了关于这方面更好的解释。如果你想C和C++上扩展使用,请阅读《Extending and Embedding the Python Interpreter》和《Python/C API Reference Manual.》,在这里给出了给出了更多关于更深层次使用Python的教程书籍。

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 in The Python Standard Library.

这篇教程并不是去讲解Python的所有或者大家都能理解和使用的特征,而是去介绍Python的一些最值得注意的特征,而且会给你表现这种语言的特点与风格的最好的理念。通过阅读这篇教程,你将能够阅读和编写Python的模型与程序,而且你将有能力去阅读The Python Standard Library.(Python标准库)里所介绍的各种各样的Python库。

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝網路 版權所有 導航