title: Python Tkinter: Placing buttons in frame
body: <p>I'm trying to create different frames and switch/destroy them so that you can move between windows like you would in a normal iOS app. </p>
  
  <p>To do so, I need to place the widgets (components) in frames (containers). </p>
  
  <p>However, when I try to add a button to the frame it doesn't pack it to the right side.</p>
  
  <p>Here is my code:
      from tkinter import *</p>
  
  <pre><code>root=Tk()
  root.geometry('500x500')
  root.title('Good morning :)')
  
  frame1=Frame(root,width=500,height=500,bg='green')
  frame1.pack()
  
  button1=Button(frame1,text='Hello')
  button1.pack(side='bottom')
  </code></pre>