#!/usr/bin/env python3 import main_window if __name__ == '__main__': main_window.main()
def valid(entuser): a=entuser.get() print a if(a=="aa"): print a main_window.main()
from openpyxl import load_workbook, Workbook, styles, worksheet import numpy as np import sys, os from main_window import main from PyQt5 import uic from PyQt5.QtWidgets import QApplication ROOT_DIR = os.path.dirname( os.path.abspath(__file__)) #get project root directory # start the GUI app = QApplication(sys.argv) main(ROOT_DIR + '\\GUI\\main.ui') sys.exit(app.exec_())
#!/usr/bin/env python # -*- coding: utf-8 -*- ## # __main__.py: Used for running hero_init as a script. ## # © 2013 Christopher E. Granade ([email protected]) # # This file is a part of the hero_init project. # Licensed under the AGPL version 3. ## # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. ## from main_window import main main()