Tkinter.Listbox.select_set

Listbox.select_set(first, last=None)

Set the selection from FIRST to LAST (included) without changing the currently selected elements.