for machine in enable:
    enable[machine] = Variable()
l = Checkbutton(self.root, text=machine, variable=enable[machine])
l.pack()
self.root.mainloop()
How do I create multiple checkboxes from a list in a for loop in python tkinter