Importing the necessary libraries and modules: from tkinter import *Ģ. Let’s take a closer look at these steps: 1. Creating the functions for the buttons in the frames. Placing the components in the three frames.Ĥ. Initializing the GUI window, placing the frames and header label and creating some commonly used variables. Connecting to the database and initializing it.Ģ. Here are the steps you will need to execute to build python address book project:ġ. We need to “3” after sqlite to specify that we need the 3.x version (newer) of the sqlite library that corresponds with Python 3.x Download Python Contact Book Projectĭownload source code of python contact book: Python Contact Book Project Code Project File Structure: To install it, you will need to run the following command on your terminal. The Tkinter library comes pre-installed with Python, however the SQLite library does not. SQLite (sqlite) – To connect to a SQL database and perform operations on the contacts. To build this project, we will need the following libraries:Ģ. You will also need to have knowledge about the SQL commands: SELECT, INSERT, CREATE TABLE and DELETE. To build this, you will need intermediate understanding of Tkinter and SQLite libraries, and only a basic understanding of the messagebox module. The objective of this is to create a GUI based Contact Book. Today, we are going to create the same thing, except this one will be on your computer, with the data corresponding to the data from a database where you will store it. Keeping you updated with latest technology trends, Join TechVidvan on Telegram About Contact Books:ĭo you remember those books where your parents used to store all their contacts’ names, phone numbers, addresses, and even where they remember them from? Oh, those paper-y days.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |