Create a Python App with Dear PyGui - Graphic User Interface
*** IMPORTANT NOTES ***
finishedProject/ is now updated with global pred= []
Please avoid initializing it at check_spam(pred=[]), but initialize it earlier on a global scope and only then pass it to check_spam(pred). Complete Updated Code on Github:
If you had any issues with the code presented in this video - please check out the link above to see if it resolves is!
*** VIDEO DESCRIPTION ***
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:
******************************************
Time Stamps:
******************************************
00:00 - Intro
00:39 - Starter files walkthrough
01:03 - Open 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:
#python #pythonprogramming #gui #graphicuserinterface #app #application #dearpygui #dearpy #programming #atom
0 views
126
41
4 years ago 00:13:14 59
Create a Museum in Corona Render
13 years ago 00:02:04 316
Create a stylish, multi-functional vest cover up
9 years ago 00:07:13 179
How to Create a Diagonal Bow Braid
4 years ago 00:16:55 16
3Ds max - How to create a chair model
10 years ago 00:07:26 5.8K
How to create a Crown Twist Braid | Updo Hairstyles
9 years ago 00:02:27 43
Create a sexy backless halter top
13 years ago 00:03:36 420
How to Create a Mini Spring Dress Recycling a T-Shirt
4 years ago 00:03:59 43
How to create a curved brick wall in 3DsMax
6 years ago 00:09:44 9
How to create a Bonsai tree (DIY)
11 years ago 00:05:48 94
How to Create a Vintage Photo Effect in Lightroom
4 years ago 00:37:02 9
Marvelous Designer 7 - How To Create A Beanie
8 years ago 00:34:18 98
The Sims 4: Cats & Dogs - Overview (Create A Pet + Create A Sim)
4 years ago 00:10:18 32
Marvelous Designer 10 - How To Create A Neck Gaiter
11 years ago 01:00:52 36
Create a Realistic Sunset Effect in Photoshop (PSD Box)
5 years ago 00:17:35 79
RAREST FIFA 21 CREATE A STADIUM!! FIFA 21 Ultimate Team
10 years ago 00:08:16 72
WWE 2K16 Create a Superstar & Create a Diva! (First In-Depth Look!)
4 years ago 00:19:41 9
Marvelous Designer 10 - How To Create A Ruffled Outfit
2 years ago 00:24:37 85
WWE 2K23 - Create A Superstar & Create A Entrance Gameplay || No Commentary || Paraflow
4 years ago 00:52:46 16
Marvelous Designer, Zbrush & Keyshot - How To Create A Sports Bra
11 years ago 00:03:01 664
How to create a profile
4 years ago 00:12:55 53
Create A Big Floor Texture From Just 1 Image by Photoshop
10 years ago 01:06:05 110
How to Create a Suspension Bridge in Blender
4 years ago 00:07:35 13
Adobe Illustrator Tutorial- Create a Soda Can Vector (HD)