Create a Python App with Dear PyGui - Graphic User Interface

Create a Python App with Dear PyGui - Graphic User Interface

Learn how to create a fully-functional Python app step by step! In this project, we will build a graphic user interface with the brand new Dear PyGui library! We will connect this interface to my Simple SMS Spam Filter, which we've built together in a previous project. We will learn how to display images, text, user input, buttons, and separators, as well as hiding widgets and "click" event callback functions.

Learn how to create a fully-functional Python app step by step! In this project, we will build a graphic user interface with the brand new Dear PyGui library! We will connect this interface to my Simple SMS Spam Filter, which we've built together in a previous project. We will learn how to display images, text, user input, buttons, and separators, as well as hiding widgets and "click" event callback functions.

Starter Files: https://github.com/MariyaSha/SimpleSMSspamFilter_GUI

Time Stamps:

  • 00:00 - Intro
  • 00:39 - Starter files walkthrough
  • 01:03 - Open app.py in Code Editor
  • 01:24 - Set widow size
  • 01:43 - Set font size
  • 02:00 - Set a theme
  • 02:24 - Initialize window object
  • 03:32 - Run Python file from command line
  • 04:37 - Adjust position on secondary window
  • 05:21 - Display an image
  • 07:14 - Set padding
  • 07:52 - Add separator
  • 08:10 - Add Vertical Spacing
  • 08:27 - Add a text widget
  • 09:02 - Change text widget color
  • 09:57 - Add a text input widget
  • 11:02 - Add a button
  • 11:19 - Attach a callback function to the button
  • 11:43 - Define callback function
  • 12:45 - Discussing the logic behind the callback function
  • 13:39 - Access window object from inside the callback function
  • 14:04 - Collecting user input
  • 16:11 - Importing functions from a different Python file
  • 17:04 - Learn more about these functions in my Simple SMS Spam Filter video tutorial!
  • 17:19 - Adding widgets inside callback function
  • 17:42 - Pre-Process the input
  • 18:16 - Predict if the input is spam or not
  • 19:13 - Adding a dynamic text widget inside callback function
  • 20:17 - Hide widget
  • 20:47 - Replace hidden widget with a new one
  • 21:04 - Test the application
  • 22:34 - Thank for watching!

DearPy GUI Documentation: https://hoffstadt.github.io/DearPyGui/index.html

python programming developer

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Hire Python Developers

Are you looking for experienced, reliable, and qualified Python developers? If yes, you have reached the right place. At **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")**, our full-stack Python development services...

Hire Python Developers India

Looking to build robust, scalable, and dynamic responsive websites and applications in Python? At **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")**, we constantly endeavor to give you exactly what you need. If you need to...

Python Tricks Every Developer Should Know

In this tutorial, you’re going to learn a variety of Python tricks that you can use to write your Python code in a more readable and efficient way like a pro.

Top Python Development Companies | Hire Python Developers

After analyzing clients and market requirements, TopDevelopers has come up with the list of the best Python service providers. These top-rated Python developers are widely appreciated for their professionalism in handling diverse projects. When...

Python Programming: A Beginner’s Guide

Python is an interpreted, high-level, powerful general-purpose programming language. You may ask, Python’s a snake right? and Why is this programming language named after it?