The value of an entry widget can be obtained with the get method of the widget:
name_entry = tk.Entry(parent)
...
name = name_entry.get()
Optionally, you may associate an instance of a StringVar, and retrieve the value from the StringVar rather than from the widget:
name_var = tk.StringVar()
...