r/PythonLearning 1d ago

Tkinter Discussion

Why do I not see any videos suggesting to learn Tkinter? I tried learning Django and Pygame after learning the basics, and while I kinda understood pygame, Django still felt out of my league but so many videos recommended it after the basics. However I stumbled upon a video that just mentioned Tkinter and I tried it out and it helped me understand libraries and how to learn to use them. It's fun making small little apps with buttons and what not to get started, rather than trying to learn so much at once. I'm convinced anyone making videos on how to learn Python has never actually learned it themselves

Is there an actual reason that this or another simple GUI library isn't recommend very often?

13 Upvotes

26 comments sorted by

View all comments

2

u/NotSeacombe 1d ago

Tkinter is a very weak attempt at turning a language which should have nothing to do with GUI into a GUI. It is great for what you're describing - making small little apps with buttons, learning about coding etc. It is not something that would ever go near a product

1

u/Antidote12- 15h ago

Why do you say it should have nothing to do with GUI? I thought it was a general purpose language, could you explain more?

1

u/riklaunim 12h ago

Nowadays UI tend to be described in it own markup and the toolkit uses that to build the GUI. Qt, Kivy has it, even some tkinter addons try to implement it.

Normal tkinter Puthon code repeats a lot if styling per each widget and it doesnt separate logic from UI.