import bpy bpy.context.camera.sensor_width = 18.96 bpy.context.camera.sensor_height = 10.00 bpy.context.camera.sensor_fit = 'HORIZONTAL'