小飞侠带你精通Python网络编程系列01-为什么是Python?

But what is Python and why is it the language of choice by many DevOps engineers?

Python是什么?为什么这么多的开发运维工程师选择Python?

下面是来自PSF(The Python Software Foundation)的一段解释:

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.

如上所述,正是由于Python有如下特点:

(1)Python是一种具有动态语义的解释型、面向对象、高级的程序语言

(2)快速开发程序这一点特别对于现在这种互联网社会特别有吸引力

(3)被称为胶水语言,使用Python可以将其他语言编写的程序进行集成和封装

(4)Python简单、易用、语法简洁,减少了程序维护的成本

(5)丰富的第三方库

一句话可以概括人们为什么喜欢Python,正所谓"人用苦短,我用Python"

猜你喜欢

转载自www.cnblogs.com/xiaofeixiashixunying/p/9589090.html
今日推荐