You are on page 1of 1

>> What is the difference between tkinter window and frame?

Tkinter creates the root window. Every tkinter application must have a root window. When you instantiate it you also create a
tcl interpreter that is used by tkinter.

Frame is just a widget, designed to be a container for other widgets. It cannot act as a standalone window. An instance
of Frame cannot exist without an instance of Tkinter -- if you don't explicitly create an instance of Tkinter, one will be created for
you.

You might also like