← All projects
Beginner~3 hours
Todo CLI
A persistent terminal todo list. The classic first project — file I/O, argparse, JSON.
PythonargparseJSON
Build plan
- 1Parse subcommands: add, list, done, remove
- 2Persist tasks to ~/.todos.json
- 3Pretty-print with checkboxes [x] / [ ]
- 4Add filtering by status and a --due flag
Stuck?
Open the playground and prototype the trickiest part first. Even 20 lines of working code beats a perfect plan that never runs.
Open Playground