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.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.