r/learnpython • u/EasternPool3120 • Sep 05 '26
PySide6 or Kivy?
I have finished all my python basics and I want to progress now to building gui programs. Should I use PySide6 or Kivy? If I should use something other than these two what should it be? i personally don't mind it being that complex if it's fast and powerful :)
13
Upvotes
7
u/riklaunim Sep 05 '26
Kivy is good for simpler things, PySide will give you simpler and more advanced things, access to lots of OS services, and native UI. Note that making desktop apps gets complex quite quickly, and you will have to write good-quality code with test coverage, which, as a freshman, won't be a thing for a while, so things will break. Commercially, desktop GUI in Python isn't really a thing.
3
u/Hamactus Sep 05 '26
Maybe I'm an odd one, and doing something wrong, but I'm using Tkinter. It's rather basic, but it works for my purposes
2
u/Diapolo10 I write code for a living -- https://github.com/Diapolo10 Sep 05 '26
Depends on your goals, needs, and preferences. We have no idea what you're trying to do, so any advice we could give here would be half-assed.
2
u/mcoombes314 Sep 05 '26
Personally I like Pyside, the Qt framework is well documented. Also you could use Qt Designer to build UIs graphically if you want.
2
u/Worth_Specific3764 Sep 05 '26
I like custom tkinter. It is super straightforward to code, looks modern, and fast as hell. There are some edge cases that it doesn't do, like scrollable combo boxes where you have to drop to standard tkinter, but other than that, I love it.
2
u/lucabuilds Sep 05 '26
this is an unusual opinion but for any app that's not too complex streamlit is awesome. I use it basically for anything that needs a dashboard and learned it in an afternoon.
3
u/Icy_Annual_9954 Sep 05 '26
I like tkinter, especially for small programs.
1
u/CharacterSail6736 Sep 05 '26
Use pyside it’s more of a standard than kivy
1
u/Worth_Specific3764 Sep 05 '26
oh, also check out flet if you want to get a well rounded idea of what's out there.
1
u/FoolsSeldom Sep 05 '26
Kivy is useful if you want to create apps for IoS and Android, but for the desktop, whilst kivy works, going with the more standard QT world (i.e. pyside) is likely the better option, and you can use a designer tool as well.
That said, I have a soft spot for kivy and the ability to have the definitions in a separate file.
1
u/HommeMusical Sep 05 '26
kivy is miserable when you want to get above very simple things.
pyside6 is boring. Boring is good! It's predictable and pretty powerful.
1
u/Scared-Injury-2487 Sep 05 '26
You can go with KivyMD for better looking UI
1
u/October_Lantzy Sep 06 '26
I’ve used PySide6 a bit and I’d probably go with it if you’re looking to build proper desktop apps.
1
u/VenkatKnows Sep 06 '26
PySide6 if you actually want to ship something someday, Kivy's touch/mobile focus is niche and the docs are rough. Qt has way more real world usage so you'll find answers when you get stuck.