The Basics

What is an IDE?

An IDE, short for Integrated Development Environment, is a single application that bundles together everything you'd otherwise need several separate programs for: writing code, running it, finding mistakes in it, and keeping track of changes to it. "Integrated" is the key word, every one of those tools lives inside the same window and talks to the others, instead of you copying code between a plain text editor, a separate terminal, and a separate debugger.

A plain text editor like Notepad can open a .py file, but it has no idea what Python is. An IDE does: it understands the language you're writing, which is what makes autocomplete, error highlighting, and one click debugging possible.

What an IDE typically includes
  • Syntax highlighting — color codes keywords, strings, and comments so code is easier to read
  • Autocomplete / IntelliSense — suggests variable names, functions, and parameters as you type
  • A debugger — lets you pause a running program, step through it line by line, and inspect variables
  • An integrated terminal — run commands without leaving the window
  • A project / file explorer — browse and manage every file in your project
  • Version control integration — commit, push, and pull with Git without a separate app
  • Linting / error checking — flags syntax errors and style problems before you run anything
  • Extensions / plugins — add support for new languages, themes, and tools
Recommended

Visual Studio Code

VS Code is a free, open source code editor from Microsoft. On its own it's a fast, lightweight text editor, but its extension marketplace is what turns it into a full IDE: install the Python extension and it gains IntelliSense, debugging, and linting for Python; install the Jupyter extension and it can run notebooks, as covered on the Python Resources page. It's the editor used throughout this course.

Setting up Git and GitHub inside VS Code, including authentication and pushing commits, is covered on the GitHub & Version Control page.

Alternatives

Two other popular free IDEs

PyCharm Community Edition

A Python specific IDE from JetBrains. Where VS Code is a general purpose editor that becomes Python aware through an extension, PyCharm is built around Python from the ground up: project level refactoring, a more thorough debugger, built in virtual environment management, and test runner integration, all without installing anything extra. The Community Edition is free and open source; the paid Professional Edition adds web framework and database tools on top.

Download PyCharm Community
Eclipse

One of the oldest and most widely used free IDEs, historically the standard for Java but extensible to Python, C/C++, and more through plugins. It's fully open source and has been a staple in computer science programs for two decades, which makes it a safe bet if a future class or employer expects you to already know your way around an IDE like it.

Download Eclipse
Related

More to explore