Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

How to create a graphical desktop window?

Tkinter allows you to create graphical interfaces. It's a bit oldschool and the class structure appears convoluted in 2025, but some might want to try it anyway.

Tk is installed with Python by default.

Here is an example program with two images:

  • :download:`titanic.py`
  • :download:`titanic.png`
  • :download:`titanic2.png`
.. seealso::

    `Tkinter documentation <https://docs.python.org/3/library/tk.html>`__