select lets each one of these items separately

Hi iam new I am learning Basic Python and learning slowly to use it in Blenders API using Python

default open blender scene

I am think is right
remember I am learning not pros like you guys and gals

import bpy # this speaks to blender API using Python to access

list(bpy.data.objects) # list out all objects and items in scene

#result would give the Camera Cube Lamp

#so if I wanted to just select lets each one of these items separately how would I do that using Python ?

This would be:


import bpy
for o in bpy.context.scene.objects:
    o.select = True

One good idea is switch to the “Scripting” screen layout, this way you can test many commands in the “Python Console” editor interactively.