DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+1 =
Submit