Create a GUI app with Tkinter - Step by Step Tutorial

Опубликовано: 11 Октябрь 2024
на канале: Steam Labs
512
12

Subscribe to Steam Labs | https://bit.ly/Subsribe_Here
Steam Labs Facebook |   / steamlabsbangkok  

In this tutorial we will look how to use Tkinter to setup a GUI interface in Python and how to .destroy to close previous windows that were open. This video also explores how to use def in python as well as file handling. Below is template that you can use to get you start with Tkinter in Python and this video demonstrates how you can extent this program including how to create new buttons and position then using .grid in Tkinter.

Links from video

Tutorials Point | https://www.tutorialspoint.com/python...
Real Python | https://realpython.com/python-gui-tki...
Template program in Repl | https://replit.com/@RobParker1/TKinte...

**********************************
⭐⭐⭐ Timestamps ⭐⭐⭐
**********************************
00:00 - Intro and resources used to create this template using Tkinter
01:22 - How to setup the folders for photos and text files
02:04 - Demo of functionality of template program
03:29 - Import Tkinter and .destroy to close child windows
05:15 - How to use def functions in Tkinter to read data from a .txt file and also open .png images
07:00 - Add buttons with functionality using .destroy function
11:20 - How to position items in the GUI in Tkinter using .grid
13:54 - How to extend the program including how to add a new button, read data from new .txt files and how to display images in GUI window

#python #tkinter #pythongui