Build a Contact Book With Python, PyQt, and SQLite

By realpython - 2021-03-10

Description

In this step-by-step project, you'll build a minimal contact book application using Python, with PyQt to build the application's GUI and SQLite to handle the database.

Summary

  • Building projects is arguably one of the more approachable and effective ways of learning to program.
  • Structuring the Contact Book Project To start coding the application, go ahead and create a new directory called rpcontacts_project/.
  • This will be the project’s root directory.
  • Then you call this function to create and open a connection to the contact database.
  • Connecting the Model to the View To display contact data in your contact book’s main window, you need to connect the table view with the data model.

 

Topics

  1. Database (0.21)
  2. Backend (0.18)
  3. UX (0.12)

Similar Articles

Python and MySQL Database: A Practical Introduction

By realpython - 2021-01-22

In this tutorial, you'll learn how to connect your Python application with a MySQL database. You'll design a movie rating system and perform some common queries on it. You'll also see best practices a ...

Spring Data Neo4j - Developer Guides

By Neo4j Graph Database Platform - 2021-01-05

For Java developers who use the Spring Framework or Spring Boot and want to take advantage of reactive development principles, this guide introduces Spring integration through the Spring Data Neo4j pr ...

Introduction to Python SQL Libraries

By realpython - 2020-12-28

In this step-by-step tutorial, you'll learn how to connect to different database management systems by using various Python SQL libraries. You'll interact with SQLite, MySQL, and PostgreSQL databases ...

How to Build a Python GUI Application With wxPython

By realpython - 2020-12-14

In this step-by-step tutorial, you'll learn how to create a cross-platform graphical user interface (GUI) using Python and the wxPython toolkit. A graphical user interface is an application that has b ...