there are various widgets like buttoncanvascheck buttonentry etc that are used to build the python gui application label label is text used to display some message or information about the other widgets syntax wlabel(master,options list of option are as follows sr no option anchor description it specifies the exact position of the text within the size provided to the widget the default value is centerwhich is used to center the text within the specified space bg the background color displayed behind the widget bitmap it is used to set the bitmap to the graphical object specified so thatthe label can represent the graphics instead of text bd it represents the width of the border the default is pixels cursor the mouse pointer will be changed to the type of the cursor specifiedi arrowdotetc font the font type of the text written inside the widget fg the foreground color of the text written inside the widget height the height of the widget image the image that is to be shown as the label justify it is used to represent the orientation of the text if the text contains multiple lines it can be set to left for left justificationright for right justificationand center for center justification padx the horizontal padding of the text the default value is pady the vertical padding of the text the default value is releif the type of the border the default value is flat text this is set to the string variable which may contain one or more line of text textvariable the text written inside the widget is set to the control variable stringvar so that it can be accessed and changed accordingly