Apr-12-2020, 06:51 PM
The problem doesn't have much to do with scope. The problem is the program creates a bunch of tk Variables and then doesn't bind them to controls. I don't do a lot of programming in tk anymore, but Variables are obviously an attempt to separate your logic (what the program does) from your view (how your program looks). I would stick with using Variables because they make it easier to write more complex programs. May as well learn how to use them in a simple program like this.