My labels aren't moving to the column and rows I want them to
<p>I want my labels and entry widgets and different rows but they automatically move to the top. What do I do to do that? Is there a simple function I could use?</p>

<pre><code>from tkinter import *

root = Tk()

root.resizable(width = False, height = False)

label_1 = Label(root, text="Text")
label_2 = Label(root, text="Text2")

entry1 = Entry(root)
entry2 = Entry(root)

label_1.grid(row=4, column=2, sticky=E)
label_2.grid(row=5, column=2, sticky=E)

entry1.grid(row=4, column=3, sticky=E)
entry2.grid(row=5, column=3, sticky=E)

checkbox = Checkbutton(root, text="Check me")
checkbox.grid(columnspan=2)
</code></pre>

<p>Also do you know how to add sub frames? I searched but the examples were all with classes and I was left confused. I of course also want it to be in a specific column and row without automatically getting moved somewhere else.</p>

<p>Empty rows and columns have size 0.  Blank labels can be used to create blank space.</p>

<pre><code>from tkinter import *
root = Tk()
dummy = Label(root, text='\n')
label_1 = Label(root, text="Text")
label_2 = Label(root, text="Text2")
entry1 = Entry(root)
entry2 = Entry(root)

dummy.grid()
label_1.grid(row=4, column=2, sticky=E)
label_2.grid(row=5, column=2, sticky=E)
entry1.grid(row=4, column=3, sticky=E)
entry2.grid(row=5, column=3, sticky=E)

checkbox = Checkbutton(root, text="Check me")
checkbox.grid(columnspan=2)
</code></pre>

python tkinter