Home  >  Article  >  Backend Development  >  What type of language does python belong to?

What type of language does python belong to?

(*-*)浩
(*-*)浩Original
2019-06-26 15:46:3617576browse

Convenience in writing programs is very important for people who do machine learning, because it is often necessary to make various modifications to the model, which is likely to affect the whole body in a compiled language, and the Python language It can be implemented in less time, so the Python language has almost become an exclusive language for artificial intelligence.

What type of language does python belong to?

Python is a scripting language. You can run it directly after writing it, eliminating the trouble of compiling and linking. For those who need more hands-on practice For beginners, there is less chance of making mistakes. Moreover, Python also has an interactive method. If it is a simple small program, you can even save the editor and just type it in to run it. (Recommended learning: Python video tutorial)

Python is a clear language. Using indentation to express the nested relationship of programs is a pioneering work, which replaces the soft programming style of the past. Upgraded to rigid grammatical rules. No more choosing between different styles, no more arguing over different styles. Unlike Perl, there are no obscure abbreviations in Python, and there is no need to memorize the meanings of strange symbols. Programs written in Python are easy to understand, which is the consensus of many people.

Python is an object-oriented language, but its object orientation does not emphasize concepts like C, but pays more attention to practicality. It is not to make the language very complicated to reflect the complete support for concepts, but to use the simplest method to allow programmers to enjoy the benefits of object-oriented. This is why Python can be as attractive as Java and C#. One of the reasons for its many supporters. Python is a feature-rich language. It has a powerful basic class library and a large number of third-party extensions, so Python programmers do not need to envy Java's JDK.

Python provides programmers with a wealth of basic functions so that people do not need to start from the bottom when writing programs. When it comes to this, people usually raise a concern: scripting languages ​​are usually slow. Scripting languages ​​are indeed slower in terms of running speed, but Python is much faster than people think. Although Python is a scripting language, it can actually be compiled. Just like compiling a Java program, the Python program is compiled into a special ByteCode. When the program is running, ByteCode is executed, eliminating the need to compile the program. The speed of text analysis and interpretation is naturally improved a lot.

Dynamic (programming) language: It talks about changing the structure at runtime, and it talks about the code structure

Strong type definition language:Forcing data Type definition language. In other words, once a variable is assigned a certain data type, it will always be that data type if it is not cast.

Python is a dynamic programming language, scripting language (interpreted language), dynamic type language, and strong type definition language.

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

The above is the detailed content of What type of language does python belong to?. 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