IDLE - Python GUI
suggest changeIDLE is Python’s Integrated Development and Learning Environment and is an alternative to the command line. As the name may imply, IDLE is very useful for developing new code or learning python. On Windows this comes with the Python interpreter, but in other operating systems you may need to install it through your package manager.
The main purposes of IDLE are:
- Multi-window text editor with syntax highlighting, autocompletion, and smart indent
- Python shell with syntax highlighting
- Integrated debugger with stepping, persistent breakpoints, and call stack visibility
- Automatic indentation (useful for beginners learning about Python’s indentation)
- Saving Python programs as
.pyfiles so you can run and edit them later in IDLE.
In IDLE, use Run → Python Shell to open a shell, or press F5 (Run Module) to execute the current file. The shell evaluates each statement you enter; the editor does not run code as you type.
Note that there are lots of alternatives, see for example this discussion or this list.
Troubleshooting
-
Windows
-
Debian/Ubuntu/MacOS
-
Arch Linux
-
Other systems
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents