Python is a very easy-to-use programming language and the development speed is very fast. 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 mottos. Run import this within the Python interpreter to get the complete list.
Python developers try to avoid immature or unimportant optimizations. Patches that speed up non-critical parts of the code are usually not incorporated into Python. So many people think Python is slow. However, according to the 80/20 rule, most programs do not have high speed requirements. In some situations where running speed is very high, Python designers tend to use JIT technology, or rewrite this part of the program in C/C language. The available JIT technology is PyPy.
Python is a completely object-oriented language. Functions, modules, numbers, and strings are all objects. And it fully supports inheritance, overloading, derivation, and multiple inheritance, which is beneficial to enhance the reusability of source code. Python supports overloaded operators and dynamic typing. Compared with Lisp, a traditional functional programming language, Python only provides limited support for functional design. There are two standard libraries (functools, itertools) that provide tried and tested functional programming tools in Haskell and Standard ML.
What editor to use for python
Recommended Python integrated development tools
It is recommended to use the following development tools to learn Python. Please choose one according to your preferences.
Divided into 2 types
The first one is editor
1,vim
2,atom
3,sublime text
4. Visual Studio Code
The second is the python integrated development environment (ide)
1. pycharm python integrated development environment, with a free version.
2. Wingide python integrated development environment has a free version.
3. liclipse python integrated development environment, free.
The above is the detailed content of What are the compilers for python?. For more information, please follow other related articles on the PHP Chinese website!