Phonebook is a simple phonebook management system implemented in Python. It allows users to add, search, edit, and delete contacts in an organized manner. The phonebook is implemented using binary search trees for efficient searching and management of contacts.
- Python 3.x
- Required module: prettytable
- Add Contact: Add a new contact with a name and phone number.
- Search Contact: Search for a contact by name or phone number.
- Display Phonebook: View the entire phonebook with contacts sorted alphabetically.
- Inorder Check: Check the order of nodes in the binary search tree (for debugging purposes).
- Edit Contact: Modify the name or phone number of an existing contact.
- Delete Contact: Delete a contact from the phonebook.
- Exit: Save the phonebook data and exit the program.
- Run the program by executing the main Python file.
- Choose the desired operation from the menu by entering the corresponding option number.
- Follow the prompts and enter the required information to perform the selected operation.
- The phonebook data is automatically saved to the "sathvikdata.txt" file when exiting the program.
sathvikdata.txt
: Stores the contact data in a serialized format.prettytable.py
: Dependency module for displaying the phonebook in a formatted table.main.py
: Main Python file containing the phonebook implementation.
For any inquiries or feedback, please contact the developer:
Developer: SVS SATHVIK Email: [email protected]