__author__ = 'Agnieszka'
from Tkinter import *
root = Tk()
one = Label(root, text='One', bg='red', fg='white')
one.pack()
two = Label(root, text='Two', bg='blue', fg='white')
two.pack(fill=X)
three = Label(root, text='Three', bg='green', fg='white')
three.pack(side=LEFT, fill=Y)
root.mainloop()

eef9566e9a78cf9eb253c509c3ab3ea86ab05077
<mask token>

<mask token>
one.pack()
<mask token>
two.pack(fill=X)
<mask token>
three.pack(side=LEFT, fill=Y)
root.mainloop()

__author__ = 'Agnieszka'
<mask token>
root = Tk()
one = Label(root, text='One', bg='red', fg='white')
one.pack()
two = Label(root, text='Two', bg='blue', fg='white')
two.pack(fill=X)
three = Label(root, text='Three', bg='green', fg='white')
three.pack(side=LEFT, fill=Y)
root.mainloop()

__author__ = 'Agnieszka'
from Tkinter import *
root = Tk()
one = Label(root, text='One', bg='red', fg='white')
one.pack()
two = Label(root, text='Two', bg='blue', fg='white')
two.pack(fill=X)
three = Label(root, text='Three', bg='green', fg='white')
three.pack(side=LEFT, fill=Y)
root.mainloop()
