looks like `imp.load_module` is also able to load compiled files so a combination of both should probably work. @jerynmathew did you tried to use them already?