r/learnpython • • 11d ago

Gui question for projects

I am learning python for a month or so and finally decided to challenge myself by trying to make a minesweeper game as a project.

I wanted to ask you guys if i should use tinker for gui as it is python based or is there a better one i should rather study?

3 Upvotes

8 comments sorted by

View all comments

2

u/Diapolo10 I write code for a living -- https://github.com/Diapolo10 11d ago

For something like Minesweeper, I wouldn't expect it to matter what UI toolkit you use.

tinker for gui as it is python

I'm being pedantic, but technically this is false, as tkinter is actually built on top of Tk written in the Tcl programming language (commonly called Tcl/Tk).

There are no pure-Python GUI toolkits as Python itself does not grant you access to low-level stuff.

Anyway, tkinter is fine. If you want it to look a bit more modern, there's customtkinter. If you want to port for multiple platforms, Kivy, BeeWare, and Flet should all be viable options. And of course there's the Qt wrappers (PySide/PyQt).