Editor Setup

Use any editor that supports Python syntax. Visual Studio Code is a convenient option, but the course does not depend on a particular editor.

Easiest choice: IDLE

IDLE is included with many official Python installations. Open IDLE, choose File → New File, type your program, save it with a .py ending, and choose Run → Run Module.

Visual Studio Code choice

  1. Install Visual Studio Code from its official website.
  2. Open the complete python-learning folder.
  3. Install Microsoft’s official Python extension when prompted.
  4. Select the Python interpreter from .venv if you created one.
  5. Open the integrated terminal and run the file with the command from Setup.

An editor is where you write and save code. A terminal is where you type commands that run the saved code. They may appear in one application, but they have different jobs.

Recommended habits:

  • Open the repository folder, not just one file.
  • Install the editor’s official Python extension if available.
  • Select the .venv interpreter.
  • Keep one experiment per file while learning.
  • Run programs from the terminal so the command is familiar.

Back to Setup · Terminal Basics · Troubleshooting