How to save an animation using python I have written a python code to build a simple animation. I need to save this animation (.blend) in a specific path. I used Save(path) in Blender 2.49b but I don't know how to use in Blender 2.74.
Any tips?
This works, you can even name the file during the save:

fp = "/home/username/SomeFolder/doubles.blend"  # or whatever you use.
bpy.ops.wm.save_as_mainfile(filepath=fp)