Tkinter is a Python Graphical User Interface ( GUI ) useful for creating little applications and screens. On this page we will show you how to create and customise a Tkinter screen.

Creating a Tkinter screen


A basic Python Tkinter screen

You create a Tkinter screen using the following three lines of code ;

from tkinter import*

root = Tk()


save them as a Python file and run them and you should get something quite like the picture on the left.