- config() is a python Tkinter method that are used to change the property of the widget at run time(not at initialization of widget).
-Here 'option' is may be text, color, font or anything that the property of the widget.
from tkinter import *
#create a window screen
l.config(text="This is the Text")
#hold the screen
-In this program, we initially create a window screen by win=Tk() and hold the screen by win.mainloop() in the last.
-then we create a Label, and try to insert or change the property of the Lable by config()
-like in config(text="This is the text") method, we put the text in the Label.
-and in config(fg="white",bg="green"), we change the fore-ground colour and back-ground colour of the text.
-by l.config(font=('arial',23,'bold')), we change the font of the text and at last we display that Label by place layout.