【Python3.72官方文档】——前言

英文原文

The Python Tutorial
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.

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.

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.

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.

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.

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.

The Glossary is also worth going through.

中文翻译

Python 教程
Python 是一门简单易学又功能强大的编程语言。它具有高效的高级数据结构,并通过简单而有效的方法来进行面向对象编程。Python 优雅的语法和动态类型、 以及其解释性的性质,使它在许多领域和大多数平台成为脚本编写和快速应用程序开发的理想语言。

Python Web 站点, https://www.python.org/,以源代码或二进制形式免费提供Python 解释器和广泛的标准库。这些源代码或二进制形式同时也可以被任意传播。该网站还包含许多免费的第三方Python模块,程序和工具以及其他文档的分发。

Python解释器可以用C或C++(或C语言中可调用的其他语言)实现的新函数和数据类型轻松扩展。Python 也适合作为可定制应用程序的一种扩展语言。

本教程通俗地介绍了Python语言和系统的基本概念和特性。它有助于使用Python解释器轻松实践实践经验,但所有示例都是独立的,因此教程也可以离线阅读。

对标准对象和模块的描述,参见Python标准库。Python 语言参考给出了语言更正式的定义。要在C或C++中编写扩展名,请阅读扩展和嵌入Python解释器和Python / C API参考手册。还有几本书也深度地介绍了Python 。

本教程不会尝试全面,涵盖每一个功能,甚至每个常用的功能。相反,它介绍了许多 Python 的值得注意的特性,从而能让你很好的把握这门语言的特性。读过之后,你将能够阅读和编写Python 模块和程序,并可以学习Python 标准库 中描述的各种Python 库模块。

术语表 也是值得过一遍的。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值