How do you get objects from another scene through python?

yup indeed:

So this works better

def get_scene(scene_name):
    
    scenes = logic.getSceneList()      
    scene = None
         
    for sce in scenes:
        if sce.name == scene_name:
            scene = sce
    
    if not scene:     
        print('\n*** No scene found with the name: ' + str(scene_name) + ' ***\n')

    return scene


def get_object(scene_name, object_name):
      
    scene   = get_scene(scene_name)
    
    if scene:
        object  = scene.objects[object_name]  
          
        if object:
            return object
        
        print('no object found with'+ str(object_name))

what we got here is a good example of a cascading failure if the scene is not found.

get_object()

also return None if the scene is not found :smile:

True, but it still gives a clear readable error instead of None type is blabla…