Skip to content

🏠 Dashboard · ☑ Progress · 🔎 Finder · 📚 Block · ← Previous · Next →

Sequence 131 — T6 - files, pathlib and exceptions

Context: Technology Gate B - Programmatic Data Management | Technology Gate
Source: CDMP Master Execution Manual

When / purpose

Work safely with project files and predictable failures.

What you should learn

  • pathlib paths.
  • Read/write text/CSV/JSON at basic level.
  • try/except for expected failures.
  • Output separation.

Resources / limits

Technology Competency Roadmap: active T6–T10 only. Detailed Technology Competency Reference: topic detail/readiness only.

Do this in order

  1. Enumerate files in a Meridian source folder.
  2. Read a file.
  3. Write output to generated/ rather than overwriting raw/.
  4. Handle a missing-file case with a useful message.

Meridian application

Use Meridian synthetic files and database only for bounded practice.

Create / save

Safe file-processing script.

Stop / boundary

Stop before production data engineering, application development, advanced OOP, orchestration or distributed processing.

Completion gate

You can read/write in the correct project folders and handle a predictable failure.

NEXT → Sequence 132


🏠 Dashboard · ☑ Progress · 🔎 Finder · 📚 Block · ← Previous · Next →