An Integrated Development Environment (IDE) is a software application that provides a complete set of tools for writing, running, and debugging programs in one place.
| Component | Purpose |
|---|---|
| Source Code Editor | Write and edit code with syntax highlighting and code completion |
| Compiler / Interpreter Interface | Translate and execute the source code |
| Debugger | Step through code, set breakpoints, and inspect variables to find bugs |
| Output / Console Window | Display program results and error messages |
| Project Explorer | Manage files and folders in a project |
IDLE (Integrated Development and Learning Environment) is the default IDE bundled with every standard Python installation from python.org. It is lightweight and ideal for beginners.
>>>.>>> print("Hello, World!")
Hello, World!
.py extension.# hello.py
name = input("Enter your name: ")
print("Hello,", name)
| IDE | Description |
|---|---|
| IDLE | Built-in, lightweight, beginner-friendly |
| PyCharm | Full-featured professional IDE by JetBrains |
| Visual Studio Code (VS Code) | Lightweight, highly extensible with extensions |
| Spyder | Scientific/data-science focused IDE |
| Jupyter Notebook | Interactive, cell-based environment popular in data science |
A debugger is a tool that helps programmers find and fix errors (bugs) in their code. Key debugger features include:
Using the debugger is a core skill for CS-11-C-07 — determining ways to debug Python code.