I just started python tkinter today, and i am not able to differentiate between what the 'width' function does and what 'padx' does, could you please explain each of them to me.
The padx is nothing but padding inside the layout, X indicates the x axis. The elements inside the layout tells that it needs more space inside the layout than what is allocated.
width which you already know is distance from one side to another side.
What is the difference between 'width' and 'padx' in tkinter in python?