Learn Python
Structured lessons from the basics up — follow the path below in order, at your own pace.
-
1
Level 1 — Beginner Beginner 31 lessons
Start here if you have never written a line of Python before. Work through these lessons in order — each one builds on the last.
Lessons in this module
What Is Python? Why Learn Python? Installing Python Setting Up Your Development Environment Your First Python Program Python Syntax Variables Data Types Numbers Strings Boolean Values Operators Input and Output Comments Conditional Statements if / elif / else Loops for Loops while Loops break / continue Lists Tuples Sets Dictionaries Functions Function Arguments Return Values Scope Basic Error Handling Modules Packages -
2
Beginner Projects Beginner 1 lesson
Build these using only what Level 1 covered — variables, conditionals, loops, functions, and the built-in collection types. Each is small…
-
3
Level 2 — Intermediate Intermediate 18 lessons
Once you're comfortable with variables, control flow, functions, and collections, these lessons cover how Python is actually used in real…
Lessons in this module
Classes and Objects Inheritance Encapsulation Polymorphism Exceptions File Handling Working With APIs and HTTP Requests Working With JSON Databases Testing Debugging Virtual Environments Package Management Code Organization Logging Configuration and Environment Variables Security Fundamentals Performance Basics -
4
Intermediate Projects Intermediate 1 lesson
Prerequisites: Level 2 — Intermediate. Extend the beginner quiz into a class-based Quiz with questions loaded from a JSON file, tracking…
-
5
Level 3 — Advanced Advanced 17 lessons
These lessons cover writing Python for production: concurrency, performance, architecture, and deployment.
Lessons in this module
Advanced Language Features Concurrency and Parallelism Async Programming Threads vs. Processes Generics and Typing Metaprogramming and Reflection Functional-Style Python Design Patterns Architecture Performance Optimization and Profiling Security Testing Strategies Package and Library Design API Design Scalability Production Deployment and CI/CD Advanced Debugging -
6
Advanced Projects Advanced 1 lesson
Prerequisites: Level 3 — Advanced. A REST API (Flask/FastAPI) with posts and comments stored in a real database, input validation, and a…
-
7
What You Should Know Now — and What's Next 1 lesson
Core syntax: variables, data types, conditionals, loops, functions Python's collection types: lists, tuples, sets, dictionaries…