How should I make a class that can be used as my main app window, but also can be used as a secondary window
<p>I know that I can subclass a tk.Frame (or ttk.Frame) and add that to a TopLevel to make secondary windows, but I'm not sure how I should use that as the main window. I know that creating an instance of a Frame class and calling .mainloop() on it seems to work for using it as the main window, but I feel like that's bad practice...</p>

<p>What do other people do when they are making GUI layouts that they want to have available to main windows and secondary windows?</p>

<p>Do you mean having a home screen that you can flip back to? If so, you can try looking here: <a href="http://stackoverflow.com/questions/14817210/using-buttons-in-tkinter-to-navigate-to-different-pages-of-the-application">Using buttons in Tkinter to navigate to different pages of the application?</a></p>

python tkinter tk toplevel