tkinter: how to inheret widgets from another .py file

I have 3 rather large tkinter files, each working perfectly, but would like to have them placed on one screen: how to use pages I have learned recently from this forum (TY).
Now, I would like to have most of the coding for the separate pages done in separate .py files. However, especially in case of widgets, I can not figure out how to use the frame names in the separate .py file. I do realize, as I tried it, that the function for the label creation is

way shortened example:

from functions import *

root = tk.Tk()
root.title("Kombucha Program")
root.minsize(width=900, height=600)
    #root.maxsize(width=1400, height = 900)
root.grid_rowconfigure(3, weight=1)
root.grid_columnconfigure(2, weight=1)
root.configure( bg = '#000080' )

theFrame = tk.Frame(root, width=1200, height = 630, bg = 'yellow')       #0059b3')
theFrame.grid(column=0,row=1, sticky = N, in_ = root)



*** ***

def getLabels():
exitButton = tk.Button(theFrame, text=”Quit the Program”, width = 12, command=root.destroy)
exitButton.grid(row = 0, column = 0)


Doctrine preUpdate event shows no changeset for associated collections

A Python App generate ,save , find and delete passwords