Change Label text Python

Change Label text Python

By SlashReal | Coding_tuts | 24 Mar 2023


label = ttk.Label(root, text='My Label')

label.pack(ipadx=10, ipady=15)

label.config(text='text changed')

How do you rate this article?

0



Coding_tuts
Coding_tuts

Programming tutorials

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.

Page not displaying correctly?