using the grid layout manager the grid layout manager is one of the most useful layout tools pseudocode to add grid layout in any python gui code tkinter automatically adds the missing row where we did not specify any particular row look feel customizationenhancing look feel of gui using different appearances of widgets creating message boxes-information warning and error message box is pop-up window that gives feedback to the user it can be informationalhinting at potential problems as well as catastrophic errors using python to create message boxes is very easy add the following line of code to the top of the module where the import statement live nextcreate callback function that will display message box we have to locate the code of the call back above the code where we attach the callback to the menu itembecause this is still procedural and not oop code