import bpy sleobj = bpy.context.selected_objects
bpy.data.objects['OBJECT'].select = True
import bpy collection = bpy.context.collection