Contact Management System project is written in Python. The project file contains a python script (index.py). This is a simple Console based system project which is very easy to understand and use. Talking about the system, it contains all the required functions which include adding, viewing, deleting and updating contact lists. While adding the contact of a person, he/she has to provide first name, last name, gender, address and contact details. The user can also update the contact list if he/she wants to.
We import ContactList.py module in Display.py and used all properties of ContactList.py module is Display.py module
- init() – It is the constructor which is used in our project for opening our Contacts.txt File
- New_Contact() – This function is used to add/create a new contact in our project . This function is uses dictionary name as ‘info’ which accepts Mobile No , Address , Email , Home , Company and BirthDate . Then this function checks whether the mobile no and email is valid or not .
- Delete_Contact() – This function is used delete the contact.
- Search_Contacts() – This function is used to search the contact by name and it is done by using key in the dictionary.
- View_Contacts() – This function is used to see the all contact details including name , Mobile No , email , home etc .
- Update_Contact() – This function is used to update any contact in the dictionary.