Home > Backend Development > Python Tutorial > Why does Python need to be installed with 32-bit version?

Why does Python need to be installed with 32-bit version?

(*-*)浩
Release: 2019-07-09 10:11:07
Original
7190 people have browsed it

Python (pronounced: British [ˈpaɪθən], American [ˈpaɪθɑ:n]) is an object-oriented, literal translation computer programming language. It is also a powerful general-purpose language that has developed for nearly two decades. History, maturity and stability. It contains a complete and easy-to-understand standard library that can easily complete many common tasks.

Why does Python need to be installed with 32-bit version?

python64-bit can use larger memory space. python64-bit can run on 64-bit systems, but not on 32-bit systems. run under the system.

python32-bit can run on 32-bit and 64-bit. Considering compatibility, it is recommended to use 32-bit python, and some extension packages do not support 64-bit.

Style (Recommended learning: Python video tutorial)

Python adheres to a clear and consistent style in design, which makes Python Become a language that is easy to read, easy to maintain, and popular with a large number of users for a wide range of uses.

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

Python's design philosophy is "elegant", "clear" and "simple". Therefore, the Perl philosophy of "there are always multiple ways to do the same thing" is often unbearable among Python developers. The philosophy of Python developers is "do one thing in one way, and preferably only one way." When designing the Python language, if faced with multiple choices, Python developers will generally reject fancy syntax and choose clear syntax with little or no ambiguity. Due to this difference in design concepts, Python source code is generally considered to be more readable than Perl and can support large-scale software development. These guidelines are called Python maxims (Zen of python). Run import this within the Python interpreter to get the complete list.

For more Python related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of Why does Python need to be installed with 32-bit version?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template