#!usr/bin/env python
import ui_logic_mainwindow as uv
from PyQt4 import QtGui
import sys

def main():
    
    app = QtGui.QApplication(sys.argv)
    ex = uv.UiMainWindow()
    ex.show()
    
    sys.exit(app.exec_())

if __name__ == "__main__":
    main()

#!/usr/bin/env python
from test import ui_logic_mainwindow as uv
from PyQt4 import QtGui
import sys

def main():
    
    app = QtGui.QApplication(sys.argv)
    ex = uv.UiMainWindow()
    ex.show()
    
    sys.exit(app.exec_())

if __name__ == "__main__":
    main()

Update run mainfile to reflect import paths
Update run mainfile to reflect import paths
