A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/python/hello-world-in-tkinter/ below:

Hello World in Tkinter - GeeksforGeeks

Hello World in Tkinter

Last Updated : 12 Jul, 2025

Tkinter is the Python GUI framework that is build into the Python standard library. Out of all the GUI methods, tkinter is the most commonly used method as it provides the fastest and the easiest way to create the GUI application.

Creating the Hello World program in Tkinter

Lets start with the 'hello world' tutorial. Here is the explanation for the first program in tkinter:

Below is the implementation.

python3
# Python tkinter hello world program

from tkinter import *

root = Tk()
a = Label(root, text ="Hello World")
a.pack()

root.mainloop()
Output:

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4