Skip to main content

Practice ยท 1 of 3

load_tasks with a Default

Write load_tasks(path) that returns the parsed JSON list when the file exists and [] when it does not (use pathlib + json).

Difficulty: beginner

Back to lesson: Practice: Mini Build: Persistent Task Manager Core