Running Python Scripts at Startup
Python scripts can be run when MotionBuilder starts up. By default, any script in the config\PythonStartup directory will be run at this time. The MotionBuilder Python startup directory can be changed in Settings > Preferences > Python.
The startup directory is added to the Python import path variable (sys.path). As such, any script you put there can have functionality imported from it to other scripts.
Alternatively, you can also use the Command Line Options to specify which script to run when MotionBuilder starts up.
Executing Python Programs while MotionBuilder is Running
Python scripts can be executed in several ways from within MotionBuilder.
Individual commands and Python scripts can be executed in the Python Editor's interactive console, or via the Python Telnet Console.