Run the python script in motionbuilder programmatically

I want the python code to automatically open motion builder and automatically execute a location-specific python script in MB。
similar to the function in python:
sys.path(‘python C:\’)

I have searched a lot of materials but failed to find the answer. If anyone knows the answer, I hope you can give me some Suggestions. Thank you very much^-^~