Home >Backend Development >Python Tutorial >Is the python language a scripting language?

Is the python language a scripting language?

silencement
silencementOriginal
2019-06-12 14:54:437195browse

Is the python language a scripting language?

Is Python a programming language or a scripting language?

Python is one of the most famous programming languages ​​developed by Guido Van Rossum. Python is popular among developers because of its clear syntax and simple code, even for beginners. For those just finishing their careers, learning Python can be very beneficial. They can take advantage of Python programming training, blogs, videos, modules, and thousands of other resources for exploring every corner of this popular language.

The difference between scripting languages ​​and programming languages:

Generally, all scripting languages ​​are considered to be programming languages. The main difference between these two languages ​​is that scripting languages ​​do not require any compilation but are directly interpreted. For example, programs written in C require compilation before execution, whereas scripting languages ​​like Javascript do not require any compilation.

Compiled code executes faster than interpreted code because they are converted into native programs. In the compiler, the entire code is analyzed only once during the entire cycle and the overall errors encountered are reported. At the same time, the interpreter analyzes the entire program each time and stops execution if it encounters any errors.

Note that it needs to determine the environment while distinguishing between scripting languages ​​and programming languages. Therefore, we can design an interpreter for programming and use it for scripting languages. Similarly, Google Chrome's JS engine compiles JS programs into machine code rather than interpreting it.

Scripting language features:

1. Automate the required process into a program.

2. Obtain information from the provided data set.

3. Requires less code than modern programming languages.

Features of programming languages:

1. Executed in a script or other parent code.

2. After compilation, the Java programming type language can be used on multiple platforms.

3. They are fully compatible with complex mathematical models

The above is the detailed content of Is the python language a scripting language?. 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