Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class BaseRun(object):
- def runPlugin(self):
- #plugin start
- pass
- class toolBox_UI(BaseRun):
- def runPlugin(self):
- # override this here
- import __toolBox.toolBox_UI as toolBox_load
- reload(toolBox_load)
- if __name__ == "__main__":
- try:
- _toolBoxUI.close()
- except:
- pass
- _toolBoxUI = toolBox_load.toolBox_UI()
- _toolBoxUI.show()
- ##
- class plugin_2_UI(BaseRun):
- def runPlugin(self):
- # override this here
- import __plugin_2.plugin_2_UI as plugin_2_load
- reload(plugin_2_load)
- if __name__ == "__main__":
- try:
- _plugin_2UI.close()
- except:
- pass
- _plugin_2UI = plugin_2_load.plugin_2_UI()
- _plugin_2UI.show()
- ##
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement