#!/usr/bin/env python2 # -*- coding: utf-8 -*- from PyQt5 import QtWidgets from ui.mainwindow import MainWindow if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) ui = MainWindow() ui.show() sys.exit(app.exec_())