3

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.

saladboy97
  • 31
  • 3
  • have you seen [Best way to structure a tkinter application](http://stackoverflow.com/a/17470842/7432)? – Bryan Oakley Jul 05 '18 at 02:43
  • I have, and I have been able to do it for smaller programs with less elements. But in programs with a lot of back end, multiple files, windows, labels, etc, I start to lose track of things. So, what I wanted to know is how to modularize the code even further. – saladboy97 Jul 05 '18 at 02:53

0 Answers0