A simple Python console application to manage a contact list, allowing users to add, remove, view contacts, search contacts by name, and save contacts to a file.
- Add a contact to the list.
- Remove a contact by its index.
- View all contacts in the list.
- Search contacts by name.
- Save contacts to a text file.
- Adding a Contact: Enter option
1and provide the contact name. - Removing a Contact: Enter option
2and specify the index of the contact to remove. - Viewing Contacts: Enter option
3to display all contacts currently stored. - Searching Contacts: Enter option
4and input the name to search for within your contacts. - Saving Contacts: Enter option
5to save your current contact list to a file (contact_list.txtby default).
- contact_list.py: Contains the Python code for managing the contact list.
- contact_list.txt: Stores contacts saved from the application.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a pull request.
- Clone the repository:
git clone https://github.com/technicalkundi/Contact-List-Python-Project.git
- Run the application
python contact_list.py