Interpret the string s as a Tcl integer and return it as an int. Raise ValueError if s is not a valid integer.
tkinter/Misc.getint
Misc.getint