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.
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是一种易学高效的编程语言。她有着高效的高级数据结构和一种简单但是有效的面向对象的编程方法。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.
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
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.
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.
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库。
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库。