Home >Backend Development >Python Tutorial >The difference between idle and python
IDLE is a text editor for editing scripts, with code highlighting and direct execution. Python is a running program. Double-click it to open a command line. You can enter code directly, but it cannot be saved as a script. It can be regarded as a console.
Recommended: "Python Tutorial"
The difference between python idle and python
1. Different references
1. Python IDLE: It is an integrated development environment for Python that has been bundled with the default implementation of the language since 1.5.2b1.
2. Python: It is a cross-platform computer programming language. It is an object-oriented dynamically typed language.
2. Different uses
1. Python IDLE: Packaged as an optional part of the Python package, including many Linux distributions. Written entirely in Python and the Tkinter GUI toolkit (wrapper functions for Tcl/Tk).
2. Python: It is designed for writing automated scripts (shell). With the continuous updating of versions and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.
3. Different features
1. Python IDLE: It is a basic IDE (integrated development environment) for developing Python programs. It has basic IDE functions and is a good choice for non-commercial Python development.
2. python: During execution, the source code in the .py file will first be compiled into Python byte code (bytecode), and then the Python Virtual Machine (Python virtual machine) will execute these Compiled byte code. The basic idea of this mechanism is consistent with Java and .NET.
The above is the detailed content of The difference between idle and python. For more information, please follow other related articles on the PHP Chinese website!