Home  >  Article  >  Backend Development  >  What is python called in Chinese?

What is python called in Chinese?

藏色散人
藏色散人Original
2019-08-02 11:02:0811209browse

What is python called in Chinese?

What is the Chinese name of python?

The Chinese name of python is python. Normally, Python is a computer program Design language. It is an object-oriented dynamic type language that was originally designed for writing automated scripts (shells). With the continuous updates of the version and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.

Python adheres to a clear and consistent style in design, which makes Python an easy-to-read, easy-to-maintain, and widely-used language that is popular with a large number of users.

The general guiding ideology of designers when developing is that for a specific problem, there is only one best way to solve it. This is expressed in the Python maxim (called The Zen of Python) written by Tim Peters as: There should be one-- and preferably only one --obvious way to do it. This is exactly the same as Perl language (another functional language) The central idea of ​​TMTOWTDI (There's More Than One Way To Do It) is completely opposite.

The author of Python intentionally designed a very restrictive syntax so that bad programming habits (such as not indenting the next line to the right in an if statement) cannot be compiled. One of the most important ones is Python's indentation rules.

One difference from most other languages ​​(such as C) is that the boundary of a module is completely determined by the position of the first character of each line in this line (while C language uses a pair of flowers The brackets {} are used to clearly define the boundaries of the module and have nothing to do with the position of the characters). This has been controversial. Because since the birth of languages ​​like C, the grammatical meaning of the language has been separated from the arrangement of characters, which was once considered an improvement in programming languages. However, it is undeniable that Python does make programs clearer and more beautiful by forcing programmers to indent (including all places where modules need to be used, such as if, for, and function definitions).

Related recommendations: "Python Tutorial"

The above is the detailed content of What is python called in Chinese?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn