Executing the run() method

The following method is very short, consisting of function calls to other methods we'll discuss shortly. This includes building the input and output frames for the GUI and starting the main event listener loop. Because the class has already initialized the variables found in the __init__() method, we can reference these objects in a safe manner as follows:

074     def run(self):
075 """
076 The run method calls appropriate methods to build the
077 GUI and set's the event listener loop.
078 """
079 logger.info('Launching GUI')
080 self.build_input_frame()
081 self.build_output_frame()
082 self.root.mainloop()