Skip to content

Pedagogy: move 00_introduction/30_python_review_2 → 06_python_advanced/{50_functional_programming, 55_pathlib_files} #399

@kwlee2025cpp

Description

@kwlee2025cpp

Goal

00_introduction/30_python_review_2.ipynb mixes three topics:

Once #394 extracts comprehensions, the remaining content is two separate topics that deserve their own notebooks.

Scope

Create:

  • 06_python_advanced/50_functional_programming.ipynb — map, filter, all, any, zip, lambda, closures
  • 06_python_advanced/55_pathlib_files.ipynb — pathlib intro, with-statement, encoding considerations, simple file I/O patterns

Retire 00_introduction/30_python_review_2.ipynb after both new notebooks exist and #394 has landed.

Dependency

Open question

pathlib could arguably live in 03_python_basics/70_file_io (per #391). The Path API is enough of an upgrade over plain strings that grouping it with advanced-tools also makes sense. Open to feedback during execution.

Why

Acceptance

  • Both new notebooks exist and run end-to-end.
  • Each has at least 2 exercises.
  • Old 30_python_review_2.ipynb removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pedagogyNotebook content / teaching changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions