Python Tkinter - StringVar in Entry Widget and Common Mistakes

Publié le: 26 juillet 2022
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Tkinter - StringVar in Entry Widget and Common Mistakes durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Thinking Through Code 26 juillet 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,622 fois et il a aimé 107 téléspectateurs. Bon visionnage!