RechConstit = self.txtConstitNom.get_text() #on recupere le texte insere dans la textbox caFic = self.cmbConstitType.get_active_text() + '.xml' #on recupere le chemin d'acces par rapport au type choisi if (self.radConstitRechNom.get_active()): liste_constit = Cree_Liste_Nom(caFic) #selon la methode de recherche utilisee, on selectionne else: #la fonction de creation de liste adequate liste_constit = Cree_Liste_Formule(caFic) result = Recherche_Liste_Constit(RechConstit, liste_constit)#on lance la fonction de recherche nbConstitResult = len(result) print type(result) while (i <= nbConstitResult - 1): self.cmbConstitResult.insert_text(i,result[i]) i = i + 1 self.cmbConstitResult.set_active(0)