import bpy Sce = bpy.data.scenes.active Objs = Sce.objects.context for i in Objs: print i.name for curve in i.ipo: for pt in curve: print pt