Tkinter's grid geometry manage
form = Tk()
form.columnconfigure(0, weight=0) form.columnconfigure(1, weight=1) form.rowconfigure(0, weight=0) form.rowconfigure(1, weight=0) form.rowconfigure(2, weight=1)
Label(form, text=“First”).grid(row=0, sticky=W) Label(form, text=“Second”).grid(row=1, sticky=W)
Entry(form).grid(row=0, column=1, sticky=W+E) Entry(form).grid(row=1, column=1, sticky=W+E)
Button(form, text=“GO”).grid(row=2, column=0, columnspan=2, padx=5, pady=5, sticky=W+E+S+N)
form.mainloop()