notes/Blender 3D Game List all Object in Scene-BEHuUAXd.sh
import bge

scene = bge.logic.getCurrentScene()
for x in scene.objects:
    print(x)

syntax highlighted by Code2HTML, v. 0.9.1