Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to get the Tkinter Label text

l = tk.Label(text="hello, world")
...
print("the label is", l.cget("text"))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #Tkinter #Label #text
ADD COMMENT
Topic
Name
7+3 =