Lesson 1: Introduction to Python & Setup
1. What is Python?
Python is a high-level, easy-to-read programming language — the #1 choice for AI, machine learning, data science, and automation.
Why Python for ML?
- Simple and readable (like English)
- Huge libraries (NumPy, Pandas, TensorFlow, Scikit-learn)
- Used by Google, Meta, OpenAI, Netflix, NASA
2. Setting Up Python
Steps (do this now):
- Download Python from python.org (latest version 3.12+)
- Install it — check "Add Python to PATH" during setup
- Open terminal/command prompt → type
python --version → should show version
- Use an editor: VS Code (free) or PyCharm Community (free)
First program:
print("Hello, TensorSpeed!")
Run it — you should see "Hello, TensorSpeed!"
Summary – Lesson 1
- Python is perfect for AI/ML
- Install Python + editor (VS Code recommended)
- First command: print("Hello")
Next: variables and basic data types.