[Tutor] Tkinter's Label

Emeka emekamicro at gmail.com
Wed Feb 16 09:17:55 CET 2011


Hello All,


I have the following;
root = Tk()
label = Label(root , text = "pure")
in order to change "text" , I could do the this

label[text] = "pool"

I do know that there is something like this..

label.config(text = "pool")

Which one should I use?


Regards,
Emeka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110216/80c4a403/attachment.html>


More information about the Tutor mailing list