def buscarProf(self): prof = Professor() self.listaProf = prof.listaDb() listaBox = [] for i in self.listaProf: listaBox += [i[1]] self.profListBox.Set(listaBox)
def carregarProf(self): prof = Professor() self.listProfId = prof.listaDb() self.listProf = [] for i in self.listProfId: self.listProf += [i[1]]