I have written multiple gui applications using python, but each one is a mess of initializations and functions and I don't feel like I'm using the object oriented capabilities to their full potential. I have searched the net, but haven't found any place that shows the best practices for this kind of program. So for a complex gui application with multiple labels, menus, buttons and screens, along with some back end computation, what is the best way to structure the program?
Currently, I'm just doing all initializations of frames, labels, etc in the constructor of the class and calling a function to loop and do the back end stuff.