Tkinter.StringType.isdigit

StringType.isdigit() → bool

Return True if all characters in S are digits and there is at least one character in S, False otherwise.