If you have a Windows laptop or PC, this guide will walk you through installing Python properly — step by step — so you can start writing and running real Python code on your own computer.
🤔 Why Install Python on Your PC?
While apps like Pydroid 3 are great for phones, installing Python directly on your PC gives you:
- More power for bigger projects later in the course
- Access to popular code editors like VS Code
- A setup closer to what real developers use
✅ Before You Start
You just need:
- A Windows laptop or PC
- About 100–150 MB of free storage
- An internet connection (only for downloading)
Step 1: Download Python
Go to the official Python website and download the installer:
🔗 Download Python (python.org)
The site automatically detects that you're on Windows and shows you a "Download Python" button with the latest version. Click it.
Step 2: Run the Installer
Go to your Downloads folder and double-click the file you just downloaded (something like python-3.x.x-amd64.exe).
⚠️ This step matters a lot: On the very first screen of the installer, you'll see a checkbox at the bottom that says:
☑️ Add python.exe to PATH
Make sure this is checked before clicking anything else. This is the single most common mistake beginners make, and skipping it causes errors later.
Step 3: Install
Click Install Now (the recommended option for most students). Wait for the installation to finish, then click Close.
Step 4: Verify the Installation
Now let's check that Python actually installed correctly.
- Press the Windows key, type
cmd, and open Command Prompt - Type this and press Enter:
python --version
If everything worked, you'll see something like:
Python 3.12.4
Step 5: Check pip
pip is Python's tool for installing extra libraries, and it comes bundled with Python automatically. Check it's there:
pip --version
You should see a version number printed out.
Step 6: Write and Run Your First Program
You have two easy options:
Option A: Using IDLE (comes free with Python)
- Press the Windows key, type
IDLE, and open it - Go to File > New File
- Type:
print("Hello, World!")
- Save the file as
hello.py - Press F5 to run it — you'll see the output appear in the IDLE window
Option B: Using Command Prompt directly
- Open Command Prompt
- Type
pythonand press Enter — this opens Python's interactive mode - Type:
print("Hello, World!")
- Press Enter to see the output instantly
- Type
exit()when you're done
🎁 Bonus: Installing a Proper Code Editor
Once you're comfortable, you'll probably want a better editor than IDLE. Most students (and professionals) use VS Code — it's free and works great with Python.
🛠️ Common Problems & Fixes
"'python' is not recognized as an internal or external command"
This means Python wasn't added to your PATH during install. Fix it by reinstalling and making sure you check "Add python.exe to PATH" this time — or add it manually through Windows' Environment Variables settings.
I installed Python but nothing changed
Try closing and reopening Command Prompt after installing — it needs a fresh window to recognize the update.
Multiple Python versions causing confusion
If you've installed Python more than once, it's best to uninstall the older versions first (via Settings > Apps) and keep just one clean version.
❓ Frequently Asked Questions
Is Python free to install?
Yes, completely free and open-source.
Which version should I install?
Always go with the latest stable Python 3.x version shown on the official downloads page.
Do I need admin rights on my PC?
Not necessarily — you can choose "Install for current user only" during setup if you don't have admin access.
Do I need to install pip separately?
No, pip comes automatically with modern Python installations.
🚀 You're Ready!
That's it — Python is installed and working on your PC. Try tweaking the text inside print() and running it again to see it in action.
Stuck at any step? Ask away in the group: