📋 Lesson Notes & Resources
Python Installation Guide
🪟 Windows Installation
Go to: https://www.python.org/downloads/
Click “Download Python 3.x.x” – it auto-detects Windows
Run the downloaded installer
✔ Very important: Check Add Python to PATH before installing
Click “Install Now” and wait for completion
Open Command Prompt and type:
python --version
You should see: Python 3.x.x
🍎 macOS Installation
Open Terminal
Install Homebrew (if not already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Then install Python:
brew install python
Verify the installation:
python3 --version
🐧 Linux (Ubuntu/Debian) Installation
Open Terminal
Update package list:
sudo apt update
Install Python:
sudo apt install python3
Check Python version:
python3 --version
📦 Pip Setup (Optional)
Ensure pip is installed:
python -m ensurepip --upgrade
Upgrade pip to the latest version:
python -m pip install --upgrade pip
🧪 Test Your Installation
Open Terminal or CMD and type:
python
Then try:
>>> print("Hello, Python!")
Output should be: Hello, Python!