How do I get an integer type from the Tkinter Entry
widget?
If I try to get the value using variable_name.get()
, it says it is a str
. If I try to change the type using int(variable_name.get())
, it says int can only accept a string or number.
Any help would be welcome!