For this assignment, you will be creating a Python 3.X program which will be accessible via the command line (CLI). This application will be capable of storing and accessing a directory of things, the things of which you may choose for yourself.
After completing this assignment, you should have a solid understanding of:
- Dictionary types
- Class/Object paradigms
- Built in Python functions
- Making a program in Python?
- A class to interact with the Directory
- A dictionary to store the data in the Directory
- Ability to add an entry to the directory
- Ability to delete an entry from the directory
- Ability to find an entry and print its contents
- Ability to list all entry names (not values), sorted
- Should continue to ask for commands until the user types "exit"
For this sample input, a contact directory was used, please feel free to use whatever kind of directory and achieve the same functionality.
Please enter a command: add bees 12
Added bees to your contacts.
Please enter a command: list
List of Contacts
bees
Please enter a command: add art 45
Added art to your contacts.
Please enter a command: find bees
bees: 12
Please enter a command: list
List of Contacts
art
bees
Please enter a command: delete bees
Deleted bees from your contacts.
Please enter a command: list
List of Contacts
art