import app import threading threadlock = threading.Lock() if __name__ == '__main__': # 参数检查 app.gui_start() # See PyCharm help at https://www.jetbrains.com/help/pycharm/