I got this error in Tkinter-Bootstrap-Guide/blob/main/example_2.py.
line ???, in on_submit
final_score = self.final_score.get()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\tkinter\__init__.py", line 615, in get
return self._tk.getdouble(self._tk.globalgetvar(self._name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: expected floating-point number but got "PY_VAR4"
get() method is missing. This should fix it.
self.final_score.set(meter.amountusedvar.get())
Greetings and thx for your work!
I got this error in Tkinter-Bootstrap-Guide/blob/main/example_2.py.
get() method is missing. This should fix it.
self.final_score.set(meter.amountusedvar.get())Greetings and thx for your work!