setting the selection

I know I can get the currently selected objects with Blender.Object.GetSelected()

What I’d like to be able to do is to set the selection.

For instance, at the end of my script I want to either have nothing
selected, or choose which object will be selected.

Thanks!

sce.objects.selected = [ob1, ob2]
…or
sce.objects.selected = []