← Back to catalogBuy now
Python Programming
A complete, from-scratch Python course — syntax to OOP to the standard library — taught the same type-along way as our C course.
Unlock the full course
Get access to every chapter, instantly.
01Chapter 1: What Is Python & Your First Program
Free
02Chapter 2: Variables and Naming
03Chapter 3: f-strings and String Concatenation
04Chapter 4: Getting User Input
05Chapter 5: Numbers and Arithmetic
06Chapter 6: String Indexing and Slicing
07Chapter 7: Common String Methods
08Chapter 8: Booleans and Comparisons
09Chapter 9: Type Casting
10Chapter 10: None and Truthiness
11Chapter 11: Augmented Assignment and Operator Precedence
12Chapter 12: Viva Recap — Getting Started & Core Types
13Chapter 13: if, elif, else
14Chapter 14: Logical Operators and Short-Circuiting
15Chapter 15: while Loops
16Chapter 16: for Loops and range()
17Chapter 17: break, continue, and pass
18Chapter 18: Nested Loops
19Chapter 19: The else Clause on Loops
20Chapter 20: The Walrus Operator :=
21Chapter 21: Ternary Conditional Expressions
22Chapter 22: Viva Recap — Control Flow
23Chapter 23: Lists: Creating and Indexing
24Chapter 24: List Methods
25Chapter 25: List Slicing and Copying
26Chapter 26: Tuples and Immutability
27Chapter 27: Tuple Unpacking
28Chapter 28: Sets and Set Operations
29Chapter 29: Dictionaries: Creating and Accessing
30Chapter 30: Dictionary Methods
31Chapter 31: Nested Data Structures
32Chapter 32: Iterating with enumerate() and zip()
33Chapter 33: List Comprehensions
34Chapter 34: Dict and Set Comprehensions
35Chapter 35: Sorting with sorted() and key Functions
36Chapter 36: Viva Recap — Collections
37Chapter 37: Defining Functions and Return Values
38Chapter 38: Parameters and Default Arguments
39Chapter 39: *args and **kwargs
40Chapter 40: Keyword-Only and Positional-Only Arguments
41Chapter 41: Variable Scope: local, global, nonlocal
42Chapter 42: Lambda Functions
43Chapter 43: Higher-Order Functions: map, filter
44Chapter 44: Recursion
45Chapter 45: Docstrings and Type Hints
46Chapter 46: Closures and First-Class Functions
47Chapter 47: Viva Recap — Functions
48Chapter 48: String Formatting Deep Dive
49Chapter 49: Regular Expressions Basics
50Chapter 50: Regex Groups and Substitution
51Chapter 51: Reading Files
52Chapter 52: Writing and Appending to Files
53Chapter 53: try/except Basics
54Chapter 54: else, finally, and Raising Exceptions
55Chapter 55: Custom Exception Classes
56Chapter 56: assert and Defensive Programming
57Chapter 57: Viva Recap — Strings, Files & Exceptions
58Chapter 58: Classes and Objects
59Chapter 59: Instance Methods and Attributes
60Chapter 60: Class Attributes vs Instance Attributes
61Chapter 61: Inheritance and super()
62Chapter 62: Method Overriding and Polymorphism
63Chapter 63: Encapsulation and Properties
64Chapter 64: @staticmethod and @classmethod
65Chapter 65: Magic Methods: __str__ and __repr__
66Chapter 66: Magic Methods: __eq__ and __len__
67Chapter 67: Operator Overloading
68Chapter 68: Abstract Base Classes
69Chapter 69: Dataclasses
70Chapter 70: Viva Recap — Object-Oriented Programming
71Chapter 71: The Iterator Protocol
72Chapter 72: Generator Functions and yield
73Chapter 73: Generator Expressions
74Chapter 74: itertools Essentials
75Chapter 75: functools Essentials
76Chapter 76: Viva Recap — Iterators, Generators & Functional Tools
77Chapter 77: Importing Modules
78Chapter 78: Creating Your Own Modules
79Chapter 79: if __name__ == "__main__":
80Chapter 80: Working with datetime
81Chapter 81: Working with JSON
82Chapter 82: Working with os and pathlib
83Chapter 83: Working with random and math
84Chapter 84: Virtual Environments and pip
85Chapter 85: Viva Recap — Modules & Standard Library
86Closures and Your First Decorator
87Decorators with Arguments
88functools.wraps and Preserving Metadata
89Context Managers and the with Statement
90Writing Your Own Context Manager
91Viva Recap — Decorators & Context Managers
92Capstone: Contact Book — Data Model and Add Contact
93Capstone: Contact Book — Search and Display
94Capstone: Contact Book — Delete and List All
95Capstone: Contact Book — Saving and Loading with JSON
96Capstone: Contact Book — The Menu Loop