Copy a working example to jump-start your own Python desktop app without starting from scratch.
Find ready-to-run reference code for a specific GUI library like PyQt6 or Tkinter.
Build a simple desktop tool like a text editor, media player, or browser by adapting an existing demo.
Learn Python GUI development by reading and running complete, working example projects.
This repository is a collection of hundreds of working Python GUI application examples and reusable code snippets. It covers ten different Python GUI libraries: PyQt6, PySide6, PyQt5, PySide2, Tkinter, Kivy, Flet, NiceGUI, DearPyGui, and Streamlit. Each folder is organized by library, then by application type, so you can quickly find code relevant to the tool you want to use. The examples range from simple beginner snippets to complete demo applications. Included demos cover a tabbed web browser, a minesweeper clone, a paint tool, a media player, a word processor, and a solitaire game. Each demo has a main.py file as the entry point and a requirements.txt listing what to install. Running an example means installing its dependencies with pip and then running python3 main.py. The project is maintained by Martin Fitzpatrick, who also runs the Python GUIs website and has written books and courses on the subject. Many examples link back to step-by-step tutorials on that site, giving context on how each piece of code was built. Tutorials for beginners on PyQt6 and PySide6 are available there as well. All code is released under the MIT license, so you can reuse, modify, and redistribute these examples in personal or commercial projects. Contributions are welcome: fork the repository, add your example in the appropriate library folder, and open a pull request. If you are not sure which GUI library to pick, the README links to a comparison guide on the website. This is a practical reference for anyone learning Python desktop development or looking for working code to adapt. The scope is desktop application windows only, with no backend services, web targets, or mobile builds included.
← pythonguis on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.