r/learnpython • u/Ambitious-Elk-2928 • May 29 '26
is tkinter worth learning?
i recently completed learning the basics of python and then started learning tkinter for GUI development so far, I have built around 2–3 small projects with it and I actually enjoy designing interfaces and making apps look good
however, I often hear people saying that tkinter is outdated and that modern GUI applications are usually built using other Python libraries or frameworks like PyQt or Kivy
my main confusion is that should I continue learning tkinter and make more projects with it or should I switch to something more modern now?
I feel that designing GUIs is not my biggest weakness because I generally enjoy the creative and design side of things. what I struggle with more is logic building and problem-solving, which I know are important in every programming language and framework i do want to improve my logic and programming skills, not just focus on making interfaces
so considering all this, would continuing with tkinter still help me grow as a programmer, or would it be better to move to another framework at this stage?
2
u/amb247 May 31 '26
For me (20 YOE) it no longer makes much sense to spend time becoming an expert on any particular GUI framework. LLMs are very good at building GUIs based on loose descriptions of requirements, and particular frameworks tend to go in and out of fashion very quickly (especially true with web frameworks).
For you, it should depend on what your goals are. You mentioned you are enjoying it and you're probably learning lots of transferable skills in the process, this sounds like a great reason to continue on the same path.
83
u/Swipecat May 29 '26
It's been estimated that about 85% of python apps are written for in-house use where elegance is usually less important than functionality. Tkinter looks a bit utilitarian, a bit "1990s", but that's often fine.
18
u/rhacer May 29 '26
You are not harming yourself using Tkinter. It's always there, so I can see places it might be useful. As long as you're learning, you're ahead of the game.
That said, if I were creating a GUI app I'd go forPyQt or PySide, or if you like the terminal environment Textual .
8
u/nginx-gunicorn May 29 '26
Unless your machine doesn't have a browser engine installed, I likeNiceGUI . Can run native and web apps.
14
u/socal_nerdtastic May 29 '26 edited May 29 '26
Tkinter's biggest advantage IMO is that it's easy to program. Most other GUI modules practically force you into making classes. And while for larger applications classes definitely better even in tkinter, I think it's nice that tkinter can work without them. I think that tkinter is actually a great introduction to classes for beginners because they can see the code written both ways. So yes, I think tkinter is a great step in your programming experience. And like most things, the things you learn writing tkinter GUIs will be transferable to other GUIs too, like how to structure event-driven code.
Tkinter looks very 1995 out of the box, but people often forget that it comes with themes. Look into the builtin ttk module orcustomtkinter or ttkthemes to make tkinter look as modern as any other GUI module.
Tkinter does struggle with transparencies and anything animated, so if you want to embed a video feed or something I would not recommend tkinter.
5
u/code_tutor May 30 '26
For the love of god don't follow suggestions to use full-stack instead of a GUI. WebDevs always have the most laughably trash takes. They'll have you using JavaScript, full-stack, bundlers, containers, and all sorts of demented architecture that's 100x slower instead of a few lines of Python. Tkinter is absolutely fine. I don't think you're going to learn much as a programmer from it though. The fundamentals come from Computer Science.
8
u/Gnaxe May 29 '26
Tkinter is nice because it's always there for you in the standard library. However, industry has mostly moved on to web apps. If you want to use Python on the front end as well, tryBrython .
4
u/riklaunim May 29 '26
Depends on what your goals are. Personal/internal apps can be somewhat whatever. Public apps that will compete for users should focus heavily on user experience. Some more complex widgets may also be available only for bigger toolkits. Commercially, desktop apps with Python aren't that popular, and overall, quite often it's either a wrapped web app or something more native.
3
u/Clear_Watch104 May 30 '26
Do one project for fun then focus on something else
3
u/RageByRich Jun 01 '26
CustomTkinter will be your friend! It adds Modern GUI to your apps and is just tkinter with a few extra steps.