Second track of the Python series. Prerequisite: Python Foundations. Picks up where the kit left off — adds the primitives that turn a 10-line script into a 100-line script that handles real data. Week 1 covers file I/O and exceptions: `open`, `with`, `try` / `except`, and the specific error types you'll meet (`KeyError`, `ValueError`, `FileNotFoundError`). Plus list comprehensions to tighten loops into one-liners. Week 2 deepens functions: default arguments, keyword arguments, `*args` and `**kwargs`, dict comprehensions, nested dicts, and the `import` system. Week 3 turns to the standard library: `csv` for CSV files, `json` for JSON, `re` for regex, `sorted(key=...)` for sorting by computed property, and `datetime` for parsing dates. The week ends with a synthesis that composes 6 prior primitives. Week 4 adds the day-to-day toolbelt: `pathlib`, `**dict` unpacking, `enumerate` and `zip` properly, slicing, `defaultdict` and `Counter` from `collections`. One last synthesis composes the lot. 30 lessons across 4 weeks. No third-party packages required — runs entirely in your browser via Pyodide.
Week 1
Week 2
Week 3
Week 4