Render Movement

Hello everyone!
I’m new to Blender and python, so sorry about my question…
I wrote a script that updates some bodies positions based on a txt file with positions.
With Blender.Redraw() i can see the changes step by step in the 3D window, but I want to render it in an animation.
Can anyone give me any hints how could I do that?

Thanks for your time!

To do this you can just set the frame, Blender.Set(‘curframe’, frame) and then use the objects insertKey function. Read up on the api docs.