Python Basics: Your First Steps Into Programming
Installing Python and VS Code
Lesson 2 of 16 • 10 XP
Keep your place in this quest
Log in or sign up for free to subscribe, follow lesson progress, and access more learning content.
Before we can write code, we need the right tools. We'll ne installing two things here: the Python itself, so we can actually run our scripts, and something called an "IDE", or Integrated Development Environment, that is basically a program that will allow us to easily write, modify and run our scripts, manage our projects, etc.
If you're on LINUX, chances are that python is already installed in our machine and you can test it by running python3 --version on your terminal. Notice that, on Linux, the command will be "python3" and not just "python".
Step 1: Install Python
- Go to python.org.
- Click Downloads and choose the latest Python 3.x version.
- During installation, make sure to tick Add Python to PATH — this makes it easier to run Python from the terminal.
💡 From Python 3.4 onwards, PIP (the Python package manager) comes included, so you don’t have to install it separately.
Step 2: Install Visual Studio Code
- Visit code.visualstudio.com.
- Download and install it like any other program.
VS Code is our coding playground — it’s lightweight, fast, and has great Python support.
Step 3: Verify Installation
Open your terminal (Command Prompt on Windows, Terminal on macOS/Linux) and type:
python --version
pip --version
You should see version numbers for both. If you get an error, something went wrong in the installation.