import bpy bpy.context.scene.render.fps = 120 bpy.context.scene.render.fps_base = 1