Check out example codes for "tkinter widgets overview". It will help you in understanding the concepts better.

Code Example 1

.label configure -textvariable resultContents
set resultContents "New value to display"

Learn ReactJs, React Native from akashmittal.com