column1 = [
(\'H\', \'Hydrogen\', \'Atomic # = 1\\nAtomic Weight =1.01\\nState = Gas\\nCategory = Alkali Metals\'),
(\'Li\', \'Lithium\', \'Atomic # = 3\\nAtomic Weight
On the line that you create your button, you can accomplish this either with a (stupid) lambda trick:
tk.Button(self,text=b[0],width=5,height=2, bg="grey",
command=lambda text=b:[self.name(text[1]), self.info(text[2])] ).grid(row=r,column=c)
or define a separate function that calls both:
tk.Button(self,text=b[0],width=5,height=2, bg="grey",
command=lambda text=b:self.call_both(text)).grid(row=r,column=c)
def call_both(self, line):
self.name(line[1])
self.info(line[2])