Is it possible to split a python extension into multiple Files?

Thank you both so much for the help, I was able to figure everything out with this advice!

For splitting the Widget and Logic classes to different files, I just had to make sure that I pointed to the right locations from the main plugin file as well!

e.g.
Module.py

import ModuleLib.Widget as mw

class Module(ScriptedLoadableModule):
    ...

ModuleWidget = mw
1 Like