import tkinter

minVindue = tkinter.Tk()

frame1 = tkinter.Frame(minVindue, bg="black", height="200", width="20")
frame1.pack()
frame2 = tkinter.Frame(minVindue, bg="green")
frame2.pack( side = tkinter.LEFT)

greenButton = tkinter.Button(frame1, text="Hej grøn", fg="green")
greenButton.pack( side = tkinter.TOP )
redButton = tkinter.Button(frame1, text="Hej rød", fg="red")
redButton.pack( side = tkinter.TOP)


blueButton = tkinter.Button(frame2, text="Hej blå         ", fg="blue")
blueButton.pack( side = tkinter.TOP)
blueButton2 = tkinter.Button(frame2, text="Hej blå", fg="blue")
blueButton2.pack( side = tkinter.TOP)


minVindue.mainloop()
4ae53b5ed118308f4819f922b282fc8e935bcb66
<mask token>

<mask token>
frame1.pack()
<mask token>
frame2.pack(side=tkinter.LEFT)
<mask token>
greenButton.pack(side=tkinter.TOP)
<mask token>
redButton.pack(side=tkinter.TOP)
<mask token>
blueButton.pack(side=tkinter.TOP)
<mask token>
blueButton2.pack(side=tkinter.TOP)
minVindue.mainloop()

<mask token>
minVindue = tkinter.Tk()
frame1 = tkinter.Frame(minVindue, bg='black', height='200', width='20')
frame1.pack()
frame2 = tkinter.Frame(minVindue, bg='green')
frame2.pack(side=tkinter.LEFT)
greenButton = tkinter.Button(frame1, text='Hej grøn', fg='green')
greenButton.pack(side=tkinter.TOP)
redButton = tkinter.Button(frame1, text='Hej rød', fg='red')
redButton.pack(side=tkinter.TOP)
blueButton = tkinter.Button(frame2, text='Hej blå         ', fg='blue')
blueButton.pack(side=tkinter.TOP)
blueButton2 = tkinter.Button(frame2, text='Hej blå', fg='blue')
blueButton2.pack(side=tkinter.TOP)
minVindue.mainloop()

import tkinter
minVindue = tkinter.Tk()
frame1 = tkinter.Frame(minVindue, bg='black', height='200', width='20')
frame1.pack()
frame2 = tkinter.Frame(minVindue, bg='green')
frame2.pack(side=tkinter.LEFT)
greenButton = tkinter.Button(frame1, text='Hej grøn', fg='green')
greenButton.pack(side=tkinter.TOP)
redButton = tkinter.Button(frame1, text='Hej rød', fg='red')
redButton.pack(side=tkinter.TOP)
blueButton = tkinter.Button(frame2, text='Hej blå         ', fg='blue')
blueButton.pack(side=tkinter.TOP)
blueButton2 = tkinter.Button(frame2, text='Hej blå', fg='blue')
blueButton2.pack(side=tkinter.TOP)
minVindue.mainloop()

import tkinter

minVindue = tkinter.Tk()

frame1 = tkinter.Frame(minVindue, bg="black", height="200", width="20")
frame1.pack()
frame2 = tkinter.Frame(minVindue, bg="green")
frame2.pack( side = tkinter.LEFT)

greenButton = tkinter.Button(frame1, text="Hej grøn", fg="green")
greenButton.pack( side = tkinter.TOP )
redButton = tkinter.Button(frame1, text="Hej rød", fg="red")
redButton.pack( side = tkinter.TOP)


blueButton = tkinter.Button(frame2, text="Hej blå         ", fg="blue")
blueButton.pack( side = tkinter.TOP)
blueButton2 = tkinter.Button(frame2, text="Hej blå", fg="blue")
blueButton2.pack( side = tkinter.TOP)


minVindue.mainloop()