def main(): logging.config.fileConfig('logging.conf') discovery = Discovery( discard_timestamps=args.discard_timestamps, correct_timestamps=args.correct_timestamps ) analysis = Analysis(discovery) ui = Application(discovery) discovery.start() analysis.start() ui.start()
def main(): # create sounds dir if it not exists create_sound_dir() # initialize UI and BG tasks = Queue() settings = init_settings() handler = TaskHandler(tasks, settings) app = Application(tasks, settings) # initialize processes handler.start() app.start() # stop BG process when UI is closed handler.stop()
def main(): root = Tk() app = Application(root) app.start()