How can you use pyuic4 to output a file that you can include in your main python program?
cd c:\myProjects\textEditor pyuic4 myEdit.ui -o myEditUI.py
import os, sys, glob fileList = glob.glob('*.ui') for fileName in fileList: theCommand = "pyuic4 %s -o %sUI.py" % (fileName, fileName[:-3]) os.system(theCommand)
cd c:\myProjects\textEditor python BatchPyuic4.py