Which are the best frameworks for creating a GUI in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

Which are the best frameworks for creating a GUI in Python?

I plan to create a small desktop app (not a game). I have already tried Tkinter, but the widgets are not very customizable and the design looks somewhat outdated. Any tips?

30th Mar 2019, 4:19 PM
giannismach
giannismach - avatar
12 Answers
+ 18
Python is not best when it comes to GUI. However you can use "kivy" which is recommend by many developers.
31st Mar 2019, 3:42 AM
Jay Suthar
Jay Suthar - avatar
+ 18
Lucky Luke okay I got it. As I said, you should use KIVY. Go with it, you will find it better than tkinter.
31st Mar 2019, 8:05 AM
Jay Suthar
Jay Suthar - avatar
+ 9
I don't know python but they can help better. Cépagrave @Vcc Anna HonFu
30th Mar 2019, 5:48 PM
Morpheus
Morpheus - avatar
+ 7
Kivy is often recommended, PyQt, too; haven't tried them myself yet.
30th Mar 2019, 6:02 PM
HonFu
HonFu - avatar
+ 7
Rohit Kumar As I mentioned above, I have already tried Tkinter and I find it somewhat unsatisfactory. Thanks anyway. Jay Suthar I know that C or C++ is usually used, but I am not willing to learn a new language just to create a GUI. I want to create it just for fun, using languages I already know. Thanks for your suggestion about kivy! Dan Rhamba thanks for your suggestions, I 'll check them out!
31st Mar 2019, 8:02 AM
giannismach
giannismach - avatar
+ 6
For light weight solution, SFML; For heavy solution, PyGame.
30th Mar 2019, 5:54 PM
Gordon
Gordon - avatar
+ 6
Wx, PyQt, kivy....
31st Mar 2019, 4:43 AM
Dan Rhamba
Dan Rhamba - avatar
+ 5
Gordon thanks! I haven't heard about SFML before, I 'll search about it. As for PyGame, isn't used exclusivelly for game development? I don't plan to create a game, just a desktop application.
30th Mar 2019, 5:59 PM
giannismach
giannismach - avatar
+ 4
Njoroge I have already tried tkinter, it is indeed very easy to use. It is also included in the standard library, so no unnecessary downloads are needed. However, I would prefer something with a more modern design, as I said in my question.
31st Mar 2019, 4:46 PM
giannismach
giannismach - avatar
+ 3
If you're targeting desktop applications I would really recommend PyQt5 (or PySide2 "Qt for Python"). Kivy is recommended a lot as it's simple to get "something" working, but those applications will not look native on the desktop — i.e. your app will not match the appearance or behaviour of a Mac app on Mac, or a Windows app on Windows. Just Google screenshots of Kivy to see what I mean. Qt5 can be used to build truly native applications — and the same goes for PyQt5. You can build an application in Python which looks no different to a professionally developed desktop app. I use PyQt5 exclusively professionally, so perhaps a little bias. But here are some examples of simple demo applications I have developed in PyQt as an example — https://www.learnpyqt.com/apps/
9th Jul 2019, 7:53 PM
Martin Fitzpatrick
Martin Fitzpatrick - avatar
+ 2
Tkinter frameworks is best for making desktop application.
31st Mar 2019, 1:26 AM
Rohit Kumar
Rohit Kumar - avatar
- 1
الو
9th Apr 2019, 11:51 AM
يحيى ابو عزيز
يحيى ابو عزيز - avatar