Python 语言概述
-
面向对象、解释型计算机程序设计语言。
-
语法简洁、清晰、丰富和强大的类,能够把用其他语言(如c++/c)
制作的各种模块很轻松的连接起来(胶水语言)。 -
是纯粹的自由软件,源代码和解释器Cpython均遵循GPL(General Public License)协议。
-
跨平台使用,常用于网站开发、网络编程、图形处理、******等。
Python之禅:
Beautiful is better than ugly, Explicit is better than implicit.
(优美胜于丑陋,显示优于隐式。)
Simple is better than complex, Complex is better than complicated.
(简洁胜于复合,复合胜于复杂。)
Flat is better than nested,Sparse is better than dense.
(扁平胜于嵌套,稀疏胜于密集。)
Readability counts.
(可读性很重要)
Special cases aren't special enough to break the rules.
(虽然语言的实用性胜于纯粹性,但也不可以因此打破规则。)