Is Pyqt or Tkinter better for Gui? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is Pyqt or Tkinter better for Gui?

13th Jun 2019, 7:56 AM
ANEESH AS
ANEESH AS - avatar
5 Answers
+ 2
Each have their advantages — Tkinter is simpler, and included with Python by default, but is limited when creating large and more complex applications. PyQt has more advanced features (multimedia, vector graphics, web browser, model-view widgets) and needs to be installed/packaged when distributing your applications. If you plan to build complex applications I'd suggest you start with PyQt5 / Qt for Python (Pyside2). If you're just wanting to stick a little UI on a command line script, Tkinter is more than enough. I use PyQt5 almost exclusively myself — here are some example applications I've made https://www.learnpyqt.com/apps/ for inspiration.
9th Jul 2019, 7:44 PM
Martin Fitzpatrick
Martin Fitzpatrick - avatar
+ 1
That second "is" distracts me... If you work on Linux you probably want to go with pyqt. But i guess it doesn't work on windows, so for compatibility reasons you want to go with Tkinter
13th Jun 2019, 8:21 AM
Loeschzwerg
0
Is there any difference between them.?Which one is more comfortable for a Gui developer?
13th Jun 2019, 8:25 AM
ANEESH AS
ANEESH AS - avatar
0
You can think of it like different languages. They basically are different in the way you create stuff. Qt is mainly developed on Linux and offers Hardware acceleration afai. But I can't tell you which is more comfortable, because i haven't used them yet.
13th Jun 2019, 9:03 AM
Loeschzwerg
0
Thanks for your time Loeschzwerg
13th Jun 2019, 9:09 AM
ANEESH AS
ANEESH AS - avatar