Answers for "tkinter create labels"

1

python tkinter getting labels

from tkinter import *

root = Tk()

l = Label(root, text='Hello World!!') #Creates the label with text hello world

l.pack() #Makes it visible to us
Posted by: Guest on January-26-2021
0

Adding label in tkinter

>>> greeting = tk.Label(text="Hello, Tkinter")
Posted by: Guest on March-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language