# Test widget text from Tkinter import * from Rechercher2 import * root=Tk() scrollbar = Scrollbar(root) scrollbar.pack(side=RIGHT, fill=Y) txt=Text(root, width=150) txt.pack() a=Lire_Rep(('.mp3','.avi'),'g:\\emule') a.lirerep() ##b=a.affiche() c=a.liste for aa in c: txt.insert(END,aa) txt.insert(END,'\n') # attach listbox to scrollbar txt.config(yscrollcommand=scrollbar.set) scrollbar.config(command=txt.yview) root.mainloop()