When was python born?
In 1991, the first Python compiler was born. It is implemented in C language and can call C language library files.
Since its birth, Python has already had:
Classes, functions, exception handling, core data types including tables and dictionaries, and a module-based expansion system.
Many of Python's syntax comes from C, but it is also strongly influenced by the ABC language. Some rules from the ABC language are controversial to this day, such as forced indentation. But these syntax rules make Python easy to read.
On the other hand, Python smartly chooses to obey some conventions, especially C language conventions, such as returning equal sign assignment. Guido believes that if something is established based on "common sense", there is no need to get too hung up on it. Python has paid special attention to scalability from the beginning. Python can be expanded on multiple levels.
From a high level, you can directly import the .py file. Under the hood, you can reference C libraries. Python programmers can quickly use Python to write .py files as expansion modules. But when performance is an important factor to consider, Python programmers can go deep into the bottom layer, write C programs, compile them into .so files and introduce them into Python for use. Python is like building a house with steel. First define the large frame. Programmers can expand or change quite freely under this framework.
The original Python was developed entirely by Guido himself. Python is popular among Guido's colleagues. They provide quick feedback and participate in Python improvements.
Guido and some colleagues form the core team of Python. They spend most of their spare time hacking Python. Subsequently, Python expanded beyond the institute.
Python hides many machine-level details and leaves them to the compiler to handle, and highlights logical-level programming thinking.
Python programmers can spend more time thinking about the logic of the program instead of specific implementation details. This feature attracted a large number of programmers, and Python became popular.
Related recommendations: "Python Tutorial"
The above is the detailed content of When was python born?. For more information, please follow other related articles on the PHP Chinese website!