My first python script! An animation I was working on was too short. It would have taken a lot of time to go in and scale all the ipo curves, so here's a script* to make an animation 3 times longer.

import Blender, bpy;
from Blender import Ipo;

for x in bpy.data.ipos:
for y in x.curves:
for z in y.bezierPoints:
z.pt = [z.pt[0]*3,z.pt[1]];

If you're very clever you can find the value 3 and change it...but only if you're really clever ok?. I'll try and add a ui to it sometime!

*Your computer may be repossessed if you run this script or other scripts provided by me