Getting Started
Install on Windows
Installing Python on Windows 10/11
Download Python
- Go to python.org/downloads
- The site will detect you're on Windows and show the latest version
- Click the download button to get the installer
- Save it to your Downloads folder
Always get Python from the official website to ensure it's secure and up-to-date.
Install Python
This is the most important part - pay close attention to step 2!
- Find and run the downloaded installer
- Important: Check ✓ "Add python.exe to PATH" at the bottom
If you miss the "Add to PATH" checkbox, Python won't work from Terminal. This is the #1 installation mistake.
- Click "Install Now" (not "Customize installation" unless you know what you're doing)
- If Windows asks "Do you want to allow this app to make changes?", click "Yes"
- Wait for installation (usually takes 1-2 minutes)
- Click "Close" when you see "Setup was successful"
Verify installation
Let's make sure Python installed correctly:
- Open Terminal:
- Press
Windows + R - Type
wtand pressEnter - Or search "Terminal" in Start menu
- Press
Windows Terminal is the modern app that can run Command Prompt (cmd), PowerShell, or other shells. It's the recommended way to use Python on Windows.
- Type this command:
bash
python --version- You should see the Python version you just installed
On Windows, you can usually use python (not python3 like on Mac/Linux).
Test Python
Let's run Python for the first time:
- In Terminal, type:
bash
python- You'll see something like:
text
Python 3.13.5 (tags/v3.13.5:0fa1754, Jul 29 2025, 12:03:01) [MSC v.1935 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>- The
>>>means Python is running! Try:
bash
print("Hello from Python!")- Press
Enterto see:
Hello from Python!
- To exit Python:
- Type
exit()and pressEnter - Or press
Ctrl + ZthenEnter
- Type
Troubleshooting
Continue to VS Code introduction
Install and configure Visual Studio Code