Command-line programs
Build a small Python expense tracker that accepts commands, processes records, and keeps them between runs.
We build you a study plan for each day. It fits your time and starts at this chapter.
Build my plan
Start free, no account needed.
Lessons
10 lessons · · 37 min- 1Command-line interface design3 min
- 2Commands and positional arguments4 min
- 3Command-line options and defaults3 min
- 4Command-line input validation4 min
- 5Command dispatch3 min
- 6Expense record creation3 min
- 7Command-line results3 min
- 8Connecting command-line programs to file storage4 min
- 9Command-line errors and exit statuses4 min
- 10Challenge: Command-line programs6 min
What you'll learn
- Design and parse commands for a small application
- Process user input and display useful results
- Connect commands to file storage and report failures
Part of Software engineering
Chapter 7 of 20 · BeginnerBeginner20
Start from this chapter
You get a plan for each day, from this chapter to the end of the course.
Build my plan
Start free, no account needed. See prices