+ 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?
13 odpowiedzi
+ 18
Python is not best when it comes to GUI. However you can use "kivy" which is recommend by many developers.
+ 18
Lucky Luke okay I got it. As I said, you should use KIVY. Go with it, you will find it better than tkinter.
+ 7
Kivy is often recommended, PyQt, too; haven't tried them myself yet.
+ 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!
+ 6
For light weight solution, SFML;
For heavy solution, PyGame.
+ 6
Wx, PyQt, kivy....
+ 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.
+ 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.
+ 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/
+ 2
Tkinter frameworks is best for making desktop application.
- 1
الو