tkinter - Hello World! Program


If you are looking for tkinter Hello World! program, here is a simple example,

from tkinter import *
root = Tk()

hello_label = Label(root, text="Hello World!")
hello_label.pack()
root.mainloop()
Output:
tkinter - hello world program output
tkinter - hello world program output

Topics Coverage:


🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.

Follow Us: GitHub | Facebook | Twitter | Instagram