Blender related python snippets to get you started. Learn blender bpy today.
August 11, 2011
scripted keyframing of Curve Coordinates
after poking around, it seems this is an ok way to script keyframes for a 'POLY' curve.
If you want NURBS or BEZIER, i suggest reading the rotobezier.py addon by zanqdo, available here, especially CURVE_OT_insert_keyframe