This programming task has been assigned by Prodigy Infotech as part of the software development internship.
The Simple Contact Management System is a Python program designed to provide users with a straightforward way to store, manage, and organize their contact information. This system offers a user-friendly interface that allows users to interact with their contacts efficiently. Users can add new contacts by entering their name, phone number, and email address. Furthermore, the system enables users to view their complete contact list, edit existing contact details, and remove contacts when necessary. The key feature of the program is its ability to store contacts either in memory or in a file for persistent storage, ensuring that users' contact information is accessible across sessions.
- Add Contacts: Easily add new contacts by providing their name, phone number, and email address.
- View Contact List: Display the complete list of saved contacts for quick reference.
- Edit Contacts: Modify existing contact information, including name, phone number, and email address.
- Delete Contacts: Remove contacts from the list when they are no longer needed.
- Persistent Storage: Store contacts in a file to ensure data persistence across sessions.
- User-Friendly Interface: Intuitive interface that makes contact management efficient and accessible.
- Clone this repository to your local machine using
git clone
. - Navigate to the project directory.
- Run the program using a Python interpreter:
python contact_manager.py
. - Follow the on-screen instructions to perform various contact management tasks.
- Contacts can be added, viewed, edited, and deleted as needed.
- Contacts can also be saved to and loaded from a file for persistent storage.
Suppose you want to add a new contact:
Simple Contact Management System
1. Add Contact
2. View Contacts
3. Edit Contact
4. Delete Contact
5. Save Contacts
6. Load Contacts
7. Exit
Enter your choice: 1
Enter name: Mangesh Pangam
Enter phone number: 9876543210
Enter email address: [email protected]
Contact added successfully!
Simple Contact Management System
1. Add Contact
2. View Contacts
3. Edit Contact
4. Delete Contact
5. Save Contacts
6. Load Contacts
7. Exit
Enter your choice: 1
Enter name: Rakshita
Enter phone number: 9999999999
Enter email address: [email protected]
Contact added successfully!
Simple Contact Management System
1. Add Contact
2. View Contacts
3. Edit Contact
4. Delete Contact
5. Save Contacts
6. Load Contacts
7. Exit
Enter your choice: 2
Contacts:
1. Name: Mangesh, Phone: 9876543210, Email: [email protected]
2. Name: Rakshita, Phone: 9999999999, Email: [email protected]
Simple Contact Management System
1. Add Contact
2. View Contacts
3. Edit Contact
4. Delete Contact
5. Save Contacts
6. Load Contacts
7. Exit
Enter your choice: 3
Contacts:
1. Name: Mangesh Pangam, Phone: 9876543210, Email: [email protected]
2. Name: Rakshita, Phone: 9999999999, Email: [email protected]
Enter the index of the contact you want to edit: 1
Enter new name: Mangesh
Enter new phone number: 9876543210
Enter new email address: [email protected]
Contact edited successfully!
Simple Contact Management System
1. Add Contact
2. View Contacts
3. Edit Contact
4. Delete Contact
5. Save Contacts
6. Load Contacts
7. Exit
Enter your choice: 4
Contacts:
1. Name: Mangesh, Phone: 9876543210, Email: [email protected]
2. Name: Rakshita, Phone: 9999999999, Email: [email protected]
Enter the index of the contact you want to delete: 2
Contact deleted successfully!
Simple Contact Management System
1. Add Contact
2. View Contacts
3. Edit Contact
4. Delete Contact
5. Save Contacts
6. Load Contacts
7. Exit
Enter your choice: 2
Contacts:
1. Name: Mangesh, Phone: 9876543210, Email: [email protected]
Simple Contact Management System
1. Add Contact
2. View Contacts
3. Edit Contact
4. Delete Contact
5. Save Contacts
6. Load Contacts
7. Exit
Enter your choice: 5
Enter filename to save contacts: demo
Contacts saved to file.
Simple Contact Management System
1. Add Contact
2. View Contacts
3. Edit Contact
4. Delete Contact
5. Save Contacts
6. Load Contacts
7. Exit
Enter your choice: 6
Enter filename to load contacts from: demo
Contacts loaded from file.
Simple Contact Management System
1. Add Contact
2. View Contacts
3. Edit Contact
4. Delete Contact
5. Save Contacts
6. Load Contacts
7. Exit
Enter your choice: 7
Author: Mangesh Pangam
GitHub: Mangesh2704
Email: [email protected]