how to align text in tkinter

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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