PWP Microproject
PWP Microproject
PWP Microproject
Using Python
Under Guidance
Imran Shaikh
Names of Students
1. Momin Rayyan (1916080067)
2. Faizal afzal Siddiqui (1916080071)
3. Ansari Aeraf (1916080076)
4. Dalvi Usaid (1916080059)
Introduction
A contact book or address book is an application that stores the
information (name, address, contact no, etc.) of people that you save in
it. You can also edit and delete the contact.
Making of the Project The Address Book project is simply in python.
Taking about the features of this system, the user can make the list of
contacts with their name, address, and keep them as records. You just
have to type the contact information in the text fields and click on the
add button to add the information on the record.
An address book or a name and address book is a book or
a database used for storing entries called contacts. Each contact entry
usually consists of a few standard fields (for example: first name, last
name, company name, address, telephone number, e-
mail address, fax number, mobile phone number). Most such systems
store the details in alphabetical order of people's names, although
in paper-based address books entries can easily end up out of order as
the owner inserts details of more individuals or as people move. Many
address books use small ring binders that allow adding, removing and
shuffling of pages to make room.
In this python project for beginners, the user has to click on a button which
functions the user wants to access eg –
To edit a contact, the user has to first select a contact then click on view
button then edit the contact and then click on edit button.
To install the library we use the pip install command in the command
prompt:
Method
These are the step to build a contact book python project:
1. Importing module
2. Initializing window
3. Define buttons
4. Define functions
1. Importing module
Tk()
Use to initialized tkinter
geometry()
Sets the window width and height
title()
Used to set window’s tiltle
resizable(0,0)
This command stop window to resize
bg
Use to set the background color of the window
Selected()
Function used to return selected value
Addcontact()
Function used to add new contact
EDIT()
Function will edit existing contact
DELETE()
Function will delete selected contact
VIEW()
Function will view selected contact
EXIT()
Used to destroy mainloop
RESET()
Will set the name and number field to empty string
Select_set()
Will sort the manage the contactlist and also used in other functions
4. Define buttons and labels
Label()
Widget used when we want to display text
Entry()
Widget used when we want to create an input text field.
Button()
Widget used to display button
Hardware Components:
Processor – Core i5
Hard Disk – 50 GB
Memory – 2GB RAM
Summary