Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 512 Bytes

File metadata and controls

18 lines (11 loc) · 512 Bytes

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>`__