18 parts
A hands-on, zero-to-confident Python course: run real code in your browser, follow along with videos, and build projects as you go.
What programming really is, why Python is the best first language, and the apps, games, and AI you can build with it once you start.
6 min read
Step-by-step Python 3 setup for Windows, macOS, and Linux — check your version, add Python to PATH, get pip, and pick an editor.
Write your first real Python program: print output, store data in variables, read user input, and convert between types — with runnable examples.
7 min read
Integers, floats, booleans, and arithmetic in Python — what a data type is, when to use each, and how type() tells them apart.
Create, slice, and format text in Python — quotes, indexing, the string methods you'll actually use, and clean f-string formatting.
Store collections in Python — mutable lists, immutable tuples, and unique-value sets — with indexing, methods, and a comprehension teaser.
5 min read
Use Python dictionaries to store and look up key-value data — creating, accessing, updating, nesting, and iterating over them.
Build conditions with Python's comparison and logical operators — ==, !=, <, >, and/or/not — plus short-circuiting and real examples.
Make decisions in Python with if/elif/else, understand indentation as scope, nest conditions, and meet the modern match/case statement.
Repeat work with Python loops — for with range, iterating over sequences, while loops, and the break, continue, and pass keywords.
Put loops, strings, and conditionals together to build the classic FLAMES name game in Python, step by step, from scratch.
Write reusable Python functions — def, parameters, return values, default and keyword arguments, and scope — and break problems into pieces.
Import and write modules, install packages with pip, and isolate projects with virtual environments — the foundation of real Python projects.
Start object-oriented programming in Python — why OOP, defining a class, __init__, attributes and methods, and creating objects.
Reuse and extend classes with inheritance and super(), then customize objects with dunder methods like __str__ and __repr__.
8 min read
Open, read, and write files in Python — file modes, the with statement, and safe patterns for reading and writing text files.
Stop your Python programs from crashing — understand exceptions, use try/except/else/finally, raise your own, and fix common beginner errors.
Finish the Python basics with list and dict comprehensions, then choose your next path in web, data, or automation, plus the habits that keep you improving.