Dec-01-2018, 07:16 AM
Those StringVar hp2, sanity2 and hunger2 you updated in the calculate() are local variable of this function, not those defined at line 75~77. Comment out them(line 60~62) and everything will be fine.
[Tkinter] can't update label to include variable
|
|
Messages In This Thread |
can't update label to include variable - by foxtreat - Dec-01-2018, 03:13 AM
RE: can't update label to include variable - by Gribouillis - Dec-01-2018, 07:03 AM
RE: can't update label to include variable - by jfong - Dec-01-2018, 07:16 AM
|