But what are Python and why are it the language of choice by many DevOps engineers?
What is Python? Why are so many devops engineers choosing Python?
Here is an explanation from the PSF (the Python software Foundation):
Python is aninterpreted,object-oriented,High-levelProgramming language with dynamic semantics. Itshigh-level built in data structures,Combined with dynamic typing and dynamic binding, make it very attractive forRapid Application Development, as well as to use as a scripting orGlue LanguageTo connect existing components together. Python ' sSimple , easy-to-learn syntax emphasizes readability and therefore reduces the cost of program maintenance.Python SupportsModules and Packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library is available in source or binary form without charge for all MA Jor platforms, and can be freely distributed.
As mentioned above, it is because Python has the following characteristics:
(1) Python is an interpretive, object-oriented, advanced programming language with dynamic semantics
(2) Rapid development procedures This is particularly appealing to the Internet community today.
(3) Known as glue language, use Python to integrate and encapsulate programs written in other languages
(4) Python simple, easy-to-use, syntax concise, reduce the cost of program maintenance
(5) Rich third-party libraries
One sentence can be summed up why people like Python, is so-called "people with a bitter short, I use Python"
Peter Pan is a master of Python network programming series 01-why Python?