How can I set an empty value in a Tkinter DoubleVar()
?
I tried to do: my_var.set("")
but when I try to check the value of my_var
with my_var.get()
, I receive the following error: _tkinter.TclError: expected floating-point number but got “”
2
How can I set an empty value in a Tkinter DoubleVar()
?
I tried to do: my_var.set("")
but when I try to check the value of my_var
with my_var.get()
, I receive the following error: _tkinter.TclError: expected floating-point number but got “”
2