title: Python Tkinter: Cannot insert text entry box in frame
body: <p>I cannot understand why my following tkinter script doesnt work properly. When I run it, I see it compiles with no errors, but I dont actually see any window open. The error occurs when I try to pack the text entry field. Any help will be greatly appreciated. </p>
  
  <pre><code>from Tkinter import *
  import ttk
  
  
  main = Tk()
  main.title('Testing')
  
  topframe = Frame(main)
  topframe.pack( side = TOP)
  
  bottomframe = Frame(main)
  bottomframe.pack( side = BOTTOM )
  
  
  frame = Frame(main)
  frame.pack()
  
  Label(topframe, text="Date").grid(row=0)
  e1 = Entry(topframe)
  e1.insert(1, "May 24, 2017")
  e1.pack()
  main.mainloop()
  </code></pre>