Project: Address Book

Write a program that functions as an address book. It should have entries containing at least the following information: first and last name, phone number, address, and email address. You should be able to add entries and remove entries, as well as printing out any given entry. It should save entries to a file, and be able to read in entries from a file as well.

The address book must be able to sort by at least one field (preferably last name). You may use any sort for this that you like.


An excellent program will be able to sort the entries by any field (first name, last name, phone number, email address, etc).

An excellent program will be able to display only entries matching a certain criteria (only last names beginning with the letter ‘M’, for example).

An excellent program easily and intelligently handles the use of multiple address books (multiple files).


A spectacular program features the ability to move an entry from one address book to another.

1) Load from file
2) Save to file
3) Add an entry
4) Remove an entry
5) Edit an existing entry
6) Sort the address book
7) Search for a specific entry
8) Quit

Please choose what you'd like to do with the database:

©2021 Daniel Gallo

This assignment is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.

Creative Commons License

Adapted for Python from Graham Mitchell’s Programming By Doing