problem(3):python IDE and python interpreter

Why write this article? Encountered the following problem, the same interpreter, if you run the code of the angr library, it will appear

Such a situation, but using spyder IDE will display normally, which is very strange.

 It should be because of the IDE

IDE circular import problem

Check IDE configuration: If possible, try running your code in a different IDE to see if the circular import issue occurs in other IDEs as well. This helps determine whether it is related to a specific IDE , and then searched for the difference between the python interpreter and the python IDE:

1. Python interpreter

Literally understood, this is a tool used to explain translation, and this is actually the case. When a Python program is run, it needs to convert the source code into a language that the machine can understand before it can be executed. The role of the Python interpreter is to convert the Python source code into bytecode that can be executed by the machine.

The Python interpreter is the core of the entire python. Without it, the python program cannot run, so it also has a name called python running environment .

2.Python IDE

The three English words "ide" in Python IDE are abbreviations. The expanded and translated name is the integrated development environment . Although they are both environments, they are fundamentally different from the Python running environment.

The python integrated development environment is used to assist the development of python programs, and different IDEs provide different functions. A complete IDE will provide very practical functions such as custom extensions, package management tools, code highlighting, automatic completion, one-click packaging and publishing, etc., which can greatly improve development efficiency.

In general, one of them is used to write python program code, and the other is used to run python programs. The python IDE relies on the python interpreter. Without an IDE, you can write python code in a text document, but without an interpreter, python cannot run, so it makes no sense.

Guess you like

Origin blog.csdn.net/m0_66039322/article/details/132110668