Programming & Academy

VS Code setup for Python developers

Extensions, settings and setup tips to improve your productivity.

Published

Updated

Reading time

6 min

Share

On this page
Code-inspired editorial pattern in Tech Resonate colours

Install the basics

Install Python from its official source and add the official Python extension to VS Code. Open a project folder rather than individual files.

Use a project environment

A separate environment keeps one project's packages from affecting another.

python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip

Format and check your code

Use a formatter and a code checker consistently. Automatic formatting on save can keep attention on the behaviour of the program.

Keep the setup focused

Add extensions only when they solve a clear need.

Build skills through guided projects

Explore Academy programmes in programming, software and everyday digital skills.

Explore Academy

Related ideas

Continue reading