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



Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.