I have a C++ Maya plugin. When loaded, it automatically calls MEL procedures to create the GUI:
status = plugin.registerUI("LoadGUI", "UnloadGUI");CHECK_STATUS(status);
However, registerUI seems to be available for MEL procedures only.
How could I do similar things for Python?
Have the mel command call your python command.