Home  >  Article  >  Backend Development  >  What program does python use to run?

What program does python use to run?

little bottle
little bottleOriginal
2019-05-20 10:13:2311575browse

Python is run using an interpreter program. The interpreter itself is also a program that allows other programs to run. The python interpreter will read the program, execute the commands in it, and get the results.

What program does python use to run?

We all know that Python is a computer scripting language. Scripting language is also called an expanded language, or dynamic language. It is a programming language that uses To control software applications, scripts are usually saved in text (such as ASCII) and are only interpreted or compiled when called. So what program is used to run python?

Let’s take a look at the interpreter. It is a program that makes other programs run.

Introduction to the Python interpreter

The interpreter is a program that allows other programs to run. Python also has a software package called an interpreter. When you write a Python program, the Python interpreter will read the program and execute the commands to obtain the results.

In fact, the interpreter is the software logic layer between the code and the computer hardware of the machine.

When a Python package is installed on a machine, it contains a few minimal components: an interpreter and supporting libraries. Depending on the use case, the Python interpreter may take the form of an executable program or as a series of libraries linked to another program. Depending on the Python version selected, the interpreter itself can be implemented as a C program, or some Java classes, or in other forms. Regardless of the form, the Python code you write must run in an interpreter.

Therefore, you must first install the Python interpreter on the machine.

You can download the corresponding Python from the official website (http://www.python.org) according to different platforms and install it.

The above is the detailed content of What program does python use to run?. 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
Previous article:what is python libraryNext article:what is python library