The Python Tutorial(教程)

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 LibraryThe 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.

有关标准对象和模块的说明,请参阅Python标准库。 Python语言参考提供了更正式的语言定义。 要用C或C ++编写扩展,请阅读扩展和嵌入Python解释器和Python / C API参考手册。 还有几本关于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标准库中描述的各种Python库模块的更多信息。

The Glossary is also worth going through. 词汇表

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值