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()

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

- import ui_logic_mainwindow as uv
+ 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
## Code Before:
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()

## Instruction:
Update run mainfile to reflect import paths
## Code After:
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()
