C1
Getting Started
The Python interpreter, running a script vs. the interactive prompt, and reading a traceback.
Python Crash Course
A from-scratch Python course, working through the fundamentals one chapter at a time — original code, activities, and interactive demos, following the structure of Python Crash Course, 2nd Edition (Eric Matthes). Chapters are logged here once they're actually done, not before.
C1
The Python interpreter, running a script vs. the interactive prompt, and reading a traceback.
C2
Variables and NameErrors, string methods and f-strings, whitespace stripping, numbers, and comments.
C3
Creating and indexing lists, modifying/adding/removing elements, sorting, and the IndexError mistake.
C4
for loops, range() and list comprehensions, slicing, copying lists correctly, and tuples.
C5
Conditional tests, and/or/in, if/else, if-elif-else chains, and if statements with lists.
C6
Key-value pairs, looping with items()/keys()/values(), membership checks, and nesting lists and dictionaries.
C7
input() and numeric conversion, while loops, flags/break/continue, and while loops with lists and dictionaries.
C8
Defining functions, keyword arguments and defaults, return values, passing lists, and arbitrary arguments (*args/**kwargs).
C9
Creating classes, default values and modifying attributes, inheritance, overriding methods, and instances as attributes.
C10
Reading and writing files, try/except/else, failing silently, and storing data with JSON.
Also see the Python cheatsheet for quick reference.