title: How to export inputted parameters with python tkinter?
body: <p>I apologies because I'm a new user for python tkinter.
  It is possible to export data inputted with Entry function?
  Currently the code works, but the value is not present in the &quot;e1&quot; output.
  Thanks in advance</p>
  <pre><code>try:
      import Tkinter as tk
  except:
      import tkinter as tk
  class Test():
     def __init__(self):
         self.root = tk.Tk()
         self.root.geometry('100x50')
         e1 = tk.Entry(self.root)
         e1.pack()
         self.e1 = e1.get()
         button = tk.Button(self.root,
                            text = 'Quit and take out values',
                            command=self.quit)
         button.pack()
         self.root.mainloop()   
         
     def quit(self):
         self.root.destroy()
  app = Test()
  print(app.e1)
  </code></pre>