Python Tkinter - StringVar in Entry Widget and Common Mistakes

preview_player
Показать описание
0:00 Introduction
1:20 Mistake 1 - Scopes and Variables
5:02 Bad Practice - Global Variables and their Consequences
7:04 Passing a Variable unto a Callback Function as a Parameter
9:28 Using a Lambda Function to pass a Variable by Value
10:50 Solution - Introduction to StringVar
11:55 Using StringVar Inside of Code - Practical Explanation
15:23 Outro

On this beginner Tkinter video we will show how the values inside of an entry widget can be manipulated in order for a programmer to store and use those values in the back end of the program or even for further analysis of the data gathered by your application.

The video is divided into different sections but can be summarized into two parts:

Part 1 - Demonstrating common mistakes and their explanation for learning purposes

Part 2 - The proper way to manipulate entry widget values using StringVar
Рекомендации по теме
Комментарии
Автор

This video is 🥇 gold! Thank you for making this.

i.dragons
Автор

Great video! It helped a lot in understanding scope within my first tkinter project. Thank you!

liambradey
Автор

your teaching style is deafferent I like it because of that I subscribed your channel
plz make video on OOP with tkinter and increase the size of editor

jeshhhhuih
Автор

When you set the textvariable = entryValue, why don't you have to put .get() after it? Does it automatically get the text?

KonstantinosPappasGreekSkater
welcome to shbcf.ru