Answers for "add a label in tkinter"

1

python tkinter label

from Tkinter import *

root = Tk()

w = Label(root, text="Hello Tkinter!")
w.pack()

root.mainloop()
Posted by: Guest on June-20-2020
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