Python Tkinter - StringVar in Entry Widget and Common Mistakes

Published: 26 July 2022
on channel: Thinking Through Code
3,622
107

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


On this page of the site you can watch the video online Python Tkinter - StringVar in Entry Widget and Common Mistakes with a duration of hours minute second in good quality, which was uploaded by the user Thinking Through Code 26 July 2022, share the link with friends and acquaintances, this video has already been watched 3,622 times on youtube and it was liked by 107 viewers. Enjoy your viewing!