how to align text in tkinter

Solutions on MaxInterview for how to align text in tkinter by the best coders in the world

showing results for - "how to align text in tkinter"
Nicole
05 Feb 2020
1Label(root, text='Pack', anchor='w').pack(fill='both')
2# anchor='w' ---- w  for left
3# anchor='e' ---- e  for right
4# anchor='center' ---- center  for center