Skip to content

Python code snippet – How to print something with tkinter?

label_b = tk.Label(
    text="TEXT HERE",
    fg="white",
    bg="black",
    width=120,
    height=3,
)
label_b.pack
See also  How to set the size of a gui in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.