from PyQt5.uic import pyuic if (callable(pyuic.main)): pyuic.main()