Monu Agrawal wrote: > Hi, I have a tkinter label written some text I have forgotten. Now I want to > know that what is written in the label. > How can I get text of the label?
w = Label(text="forgotten text")
text = w.cget("text")
print text
</F>
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss
