title: how to save entry box in dictionary
body: <p>i have create automatic entry box</p>
  <p>but values print dictionary</p>
  <p>example {[&quot;ent1&quot;:'computer',&quot;ent2&quot;: '1800'], [&quot;ent1&quot;:'laptop', &quot;ent2&quot;:'2000'], [&quot;ent1&quot;:'mouse',&quot;ent2&quot;: '500']}</p>
  <pre><code>from tkinter import *
  
  class sample:
      def __init__(self, root):
          self.root = root
          self.root.geometry(&quot;500x500&quot;)
          self.all_entries = list()
  
          showButton = Button(root, text='Show all text',command= self.showEntries)
          showButton.pack()
  
          addboxButton = Button(root, text='&lt;Add Time Input&gt;', fg=&quot;Red&quot;, command=self.addBox)
          addboxButton.pack()
  
      def addBox(self):
          frame = Frame(root)
          frame.pack()
  
          self.ent1 = Entry(frame)
          self.ent1.grid(row=1, column=0)
  
          self.ent2 = Entry(frame)
          self.ent2.grid(row=1, column=1)
  
          self.all_entries.append([self.ent1,self.ent2])
  
      def showEntries(self):
  
          values = [[entry.get() for entry in entry_set] for entry_set in self.all_entries]
          print(values)
  
  root = Tk()
  obj = sample(root)
  root.mainloop()
  
  </code></pre>