import bpy import sys bpy.ops.export_scene.fbx(filepath='D:\\Program Files\\exported.fbx', axis_forward='-Z', axis_up='Y')