Home > Article > Backend Development > Is python object-oriented?
Python is an object-oriented, interpreted computer programming language invented by Guido van Rossum at the end of 1989. The first public release was released in 1991. Python source code also follows the GPL (GNU General Public License) agreement . Python syntax is concise and clear, with rich and powerful class libraries.
But in factProcedure-orientedandObject-oriented are a kind of programming ideas. We cannot say whether a certain language is oriented or not. Object-oriented or process-oriented, but whether a certain language supports object-oriented or process-oriented. Returning to the topic, Python can support object-oriented, but it can also support process-oriented, even if it does not support object-oriented languages.
For example, in C language, you can also write programs using object-oriented thinking. You can understand object-facing as "modularization", and Python happens to be able to do this. Function files written by yourself can use import to reference modules. Even if classes are not used to define classes, object-oriented ideas can be realized.
The above is the detailed content of Is python object-oriented?. For more information, please follow other related articles on the PHP Chinese website!