def main():
    try:
        obj = App()

        root = Tk()
        obj.run(root)

    except KeyboardInterrupt:
        print("Keyboard Interrupt Occured")
        sys.exit()
    except:
        traceback.print_exc()
        sys.exit()
Пример #2
0
from gui import App

if __name__ == '__main__':
    app = App()
    app.run()