A simple Python-based contact management system that allows users to add, search, and display contacts. This project demonstrates fundamental Python concepts like classes, functions, user input, and control flow, making it an excellent example for beginners looking to enhance their programming skills.
- Add Contacts: Easily add new contacts with a name, email, and phone number.
- Search Contacts: Search for a contact by name.
- Display Contacts: View all contacts currently stored in the system.
- Simple and Interactive: Easy-to-use command-line interface for managing contacts.
To get started with the Contact Manager, follow these steps:
-
Clone the Repository:
git clone https://github.com/your-username/contact-manager.git
-
Navigate to the Directory:
cd contact-manager
-
Run the Script:
Make sure you have Python installed. Then, run the script using:
python contact_manager.py
Once the script is running, follow the on-screen prompts to manage your contacts:
- Add Contact: Enter contact details (name, email, phone number) to add a new contact.
- Search Contact: Enter the name of the contact you want to search for.
- Display All Contacts: View a list of all contacts currently stored.
- Exit: Close the program.
To run the script, use the following command:
python contact_manager.py
Follow the prompts to add, search, and display contacts.
After selecting the "Add Contact" option, you will be prompted to enter the contact's details:
Enter name: John Doe
Enter email: [email protected]
Enter phone number: 123-456-7890
Output:
Contact 'John Doe' added successfully!
Select the "Search Contact" option and enter the name of the contact:
Enter the name to search: John Doe
Output:
Contact Found: Name: John Doe, Email: [email protected], Phone: 123-456-7890
Select the "Display All Contacts" option to see a list of all contacts:
Output:
Contacts List:
Name: John Doe, Email: [email protected], Phone: 123-456-7890
Contributions are welcome! If you have suggestions for new features or improvements, feel free to create a pull request or open an issue.
-
Fork the Repository: Click on the 'Fork' button in the top right corner of this repository.
-
Clone Your Fork: Clone your forked repository to your local machine.
git clone https://github.com/your-username/contact-manager.git
-
Create a Branch: Create a new branch for your feature or bugfix.
git checkout -b feature/your-feature-name
-
Make Changes: Make your changes and commit them with a descriptive message.
git commit -m "Add: feature description"
-
Push Changes: Push your changes to your forked repository.
git push origin feature/your-feature-name
-
Create a Pull Request: Go to the original repository on GitHub and create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
Thank you for using the Contact Manager! If you have any questions or feedback, feel free to reach out. Happy coding! 😊