Installing Python on Windows
This guide will walk you through installing Python on a Windows computer.
1. Check if Python is Already Installed
- Press Windows Key + R, type
cmd, and press Enter to open Command Prompt. - Type:
python --version
or
python3 --version
- If you see
Python 3.x.x, Python is already installed. - If not, follow the steps below.
2. Download Python
- Go to the official website: python.org/downloads.
- Click Download Python 3.x.x (latest stable release for Windows).
3. Run the Installer
- Open the downloaded
.exefile. - On the setup screen, check the box Add Python to PATH (very important!).
- Click Install Now (recommended).
4. Verify Installation
- Open Command Prompt again.
- Type:
python --version
You should see the version number of Python you just installed ✅
5. Install pip (Package Manager)
pip usually comes installed with Python. Check by typing:
pip --version
If it doesn’t work, reinstall Python and make sure pip is included in the setup options.
6. (Optional) Install an Editor or IDE
Python comes with IDLE (a simple editor), but many learners prefer PyCharm or VS Code.
You can install one of them to make coding easier.
✅ Summary
- Download Python from python.org.
- Run the installer and check Add to PATH.
- Verify installation in Command Prompt.
- Use pip to install extra libraries.
- (Optional) Install an IDE like PyCharm or VS Code.
Your Windows PC is now ready for Python programming 🎉