Set the selection to include the characters starting with the one indexed by start and ending with the one just before end. If end refers to the same character as start or an earlier one, the selection is cleared.
tkinter/Spinbox.selection_range
Spinbox.selection_range