title: Dynamic Checkbuttons in Python
body: <p>I have to implement 5 to 6 checkbuttons next to each other at run time. The checkboxes are generating but when i deselect any one of them, the rest get deselected too. Also, another thing if i want is , if the text attribute of a checkbutton is repeated, it should line up at the same place as where it was and not create a new checkbutton.</p>
  
  <p>the only code i have for the checkbutton is this</p>
  
  <pre><code>option2 = Checkbutton(self.controls,text = name,
  variable = self.variable,command lambda:display_temperature(self.variable,name))
  </code></pre>
  
  <p>option2.pack(side = 'left', anchor = 'sw', pady = 10, padx = 10)
     self.controls.pack()</p>