import bpy print({'version': bpy.app.version_string, 'file': bpy.data.filepath, 'active_scene': bpy.context.scene.name, 'scenes': [(s.name, len(s.objects)) for s in bpy.data.scenes]})