Python application to add, display and remove contacts from an address book.
The address book has mandatory fields:
- Name
- Surname
- Telephone number
It can have also optional fields:
- Age
- Hair color
Each contact can belong to 3 different categories:
- Friends
- Family
- Acquaintance
Each category has a name. The “family” category has a description indicating the family’s relationship (parent, granparent, son/daughter, aunt/uncle). The “friends”category has a field indicating the number of friendship’s years.
The user is able, through the command line, to add, display, remove or edit the contacts and each one of their properties. The contacts and the related information are saved in 1 (or more) txt file(s). When all the contacts are displayed, sort them alphabetically by surname.