title: Python Tkinter not opening when using .grid()
body: <p>I am working through online tutorials to learn how to make a GUI with Tkinter. But i am having an issue when using the .grid() function. </p>
  
  <p>Here is what i have so far:</p>
  
  <pre><code>from Tkinter import *
  
  root = Tk()
  title = Label(root, text = "Hello World")
  title.pack()
  
  name           = Label(root, text = "Name")
  password       = Label(root, text = "Password")
  entry_name     = Entry(root)
  entry_password = Entry(root)
  
  name.grid           (row = 0, sticky = E)
  password.grid       (row = 0, sticky = E)
  entry_name.grid     (row = 0, column = 1)
  entry_password.grid (row = 1, column = 1)
  
  check = Checkbutton(root, text = "Keep me logged in")
  check.grid(columnspan = 2)
  
  root.mainloop()
  </code></pre>
  
  <p>So the problem im having is as soon as i include that first line:</p>
  
  <pre><code>name.grid(row = 0, sticky = E)
  </code></pre>
  
  <p>And then run the script, there are no errors, but nothing opens. The program just hangs and i have to close the command prompt in order to regain control. </p>
  
  <p>If i comment out all the lines using .grid() they program works fine and will open a window with my title inside it. </p>
  
  <p>So, does anyone know what im doing wrong? 
  Im using Python 2.7</p>