Skip to content

Poop Code

  • Home
  • Linux

Python code snippet – How to align text in tkinter?

November 5, 2024 by poopcode
Label(root, text='Pack', anchor='w').pack(fill='both')
# anchor='w' ---- w  for left
# anchor='e' ---- e  for right
# anchor='center' ---- center  for center
Categories Python Tags python, tkinter
Check if a date is a weekday in TypeScript
Aggregated free testnet faucets for all blockchain networks
© 2025 Poop Code • Built with GeneratePress