from tkinter import *
root = Tk()
my_frame = Frame(root, height = 20, width = 20)
myframe.pack(root)
from tkinter import *
root = Tk()
frame = Frame(root)
frame.pack()
redbutton = Button(frame, text = 'Red', fg ='red')
redbutton.pack( side = LEFT)
greenbutton = Button(frame, text = 'Brown', fg='brown')
greenbutton.pack( side = LEFT )
bluebutton = Button(frame, text ='Blue', fg ='blue')
bluebutton.pack( side = LEFT )
blackbutton = Button(frame, text ='Black', fg ='black')
blackbutton.pack( side = LEFT)
root.mainloop()
w = Frame(master, option=value)