Skip to content

Projects

The best way to get better at Python is to build something with it. Each project here gives you a target and points you toward the concepts you'll need. The docs are your reference. The implementation is yours.

Projects are grouped by complexity. Starter projects run in under 50 lines and focus on one or two ideas. Builder projects combine multiple concepts and require more decisions. Complete projects are full scripts — classes, file persistence, error handling — something you'd actually use.


Starter

ProjectWhat you'll build
Number guessing gameA loop that picks a random number and takes guesses until the player wins
Password generatorA script that builds a random password from a character set you control
Mad libsA fill-in-the-blank story that collects words from the player and prints the result

Builder

ProjectWhat you'll build
Quiz gameA multiple-choice quiz that scores the player and shows results at the end
Expense splitterA script that takes a list of expenses and splits the total fairly between people
Word frequency analyzerRead a block of text and report the most common words
Contact bookA CLI tool to add, search, and list contacts during a session

Complete

ProjectWhat you'll build
Flashcard study appStudy a deck of flashcards loaded from a file, with score tracking across sessions
Inventory managerA CLI tool to manage stock: add items, update quantities, save to a file
Personal journalA script that writes dated entries to a file and lets you read past ones