Milestone 1 · Python
Python for AI work
Write, structure, and debug Python, including concurrency and performance.
Hide lessonsShow all 41 lessons
Python FoundationsLessons 1–10
- 01Lesson 1: What is Python? Setup & Your First Program55 min
- 02Lesson 2: Variables, Data Types & Type Conversion60 min
- 03Lesson 3: Operators — Arithmetic, Comparison, Logical50 min
- 04Lesson 4: Strings — Creation, Indexing, Slicing, Methods65 min
- 05Lesson 5: Control Flow — if / elif / else55 min
- 06Lesson 6: Loops — for / while, break / continue35 min
- 07Lesson 7: Functions — Defining, Parameters, Return Values40 min
- 08Lesson 8: Lists — Creation, Indexing, Methods40 min
- 09Lesson 9: Tuples and Sets30 min
- 10Lesson 10: Input/Output & f-string Formatting25 min
Core Data Structures & LogicLessons 11–19
- 11Lesson 11: Dictionaries40 min
- 12Lesson 12: List, Dict and Set Comprehensions35 min
- 13Lesson 13: Nested Data Structures30 min
- 14Lesson 14: String Manipulation Deep Dive35 min
- 15Lesson 15: Reading & Writing Files30 min
- 16Lesson 16: Working with CSV and JSON35 min
- 17Lesson 17: Exception Handling40 min
- 18Lesson 18: Modules, Packages & Virtual Environments35 min
- 19Lesson 19: The Standard Library Toolkit — pathlib, collections, itertools, subprocess50 min
Object-Oriented PythonLessons 20–26
- 20Lesson 20: Classes and Objects — The Basics40 min
- 21Lesson 21: Constructors, Instance vs Class Attributes35 min
- 22Lesson 22: Inheritance and Polymorphism45 min
- 23Lesson 23: Encapsulation and Magic/Dunder Methods40 min
- 24Lesson 24: Class Methods, Static Methods and Properties35 min
- 25Lesson 25: Abstract Base Classes and Interfaces30 min
- 26Lesson 26: Dataclasses, Enums and Pydantic Models45 min
Intermediate & Functional PythonLessons 27–33
- 27Lesson 27: *args, **kwargs and Function Arguments Deep Dive35 min
- 28Lesson 28: Lambda Functions and Functional Tools30 min
- 29Lesson 29: Iterators and Iterables — Building Your Own35 min
- 30Lesson 30: Generators and yield40 min
- 31Lesson 31: Decorators — Writing and Using Them45 min
- 32Lesson 32: Context Managers and the with Statement30 min
- 33Lesson 33: Closures and Scope — The LEGB Rule35 min
Advanced PythonLessons 34–41
- 34Lesson 34: Regular Expressions with re45 min
- 35Lesson 35: Working with Dates and Times35 min
- 36Lesson 36: Multithreading and Multiprocessing Basics45 min
- 37Lesson 37: Async Python — asyncio, async/await50 min
- 38Lesson 38: Type Hints and Static Typing with mypy35 min
- 39Lesson 39: Working with APIs in Python40 min
- 40Lesson 40: Python and Databases — sqlite3 and SQLAlchemy55 min
- 41Lesson 41: Unit Testing with pytest45 min
