A textbook you can start working through directly · each stage = 36 hours = 1 week
with open · three ways to read ·
"w" wipes the file ⚠️ · pathlib · try/except and common exceptions__name__ == "__main__" · comprehensions · generator
expressions__init__ and self ·
instance vs class attributes (mutable class attribute trap ⚠️) · methods@property · composition vs inheritance ·
Git's three areas · .gitignorebreakpoint() and pdb~/miniconda3/bin/python 验证.py re-checks all of it in one pass
(code-block rendering, link reachability, no hard-coded paths, per-module self-checks,
handout structure).pow was treated as positional-only; in fact it accepts keyword
arguments\|x\| rendered as a double bar ‖x‖ instead of the absolute
value |x| — changed to \lvert x\rverta.mean_rt is b.mean_rt was backwards — it is
actually False (bound methods are recreated on every access)sympify("x**5") produced a symbol different from the declared one,
so an integral check passed falsely — caught by actually running it