Learn how to build a contact book application with a text-based interface (TUI) using Python and Textual, while managing and storing contact data with an SQLite database. This hands-on project helps in applying various coding skills simultaneously, covering the creation of TUI, handling database operations, and connecting the TUI with database code for functionality. The tutorial also emphasizes best practices including setting up a project structure and using a virtual environment.

35m read timeFrom realpython.com
Post cover image
Table of contents
Demo: A Contact Book Built With Python and TextualProject OverviewPrerequisitesStep 1: Create the Contact Book’s App With TextualStep 2: Build the Contact Book’s TUIStep 3: Set Up the Contact Book’s DatabaseStep 4: Display Existing Contacts on the App’s TUIStep 5: Add New Contacts to the Database and TUIStep 6: Delete Contacts From the Database and TUIConclusionNext Steps
1 Comment

Sort: