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
- Install Visual Studio Code from its official website.
- Open the complete
python-learningfolder. - Install Microsoft’s official Python extension when prompted.
- Select the Python interpreter from
.venvif you created one. - 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
.venvinterpreter. - Keep one experiment per file while learning.
- Run programs from the terminal so the command is familiar.