You are on page 1of 2

Python interface

Library Advantages Disadvantages Best at Difficulty Interface


(+++++)
Tkinter - Easy to learn - Defualt look - modern ++
- Available on and feel not interface
most OS modern - matplotlib
system - limit set of - Visualist
(window, widgets data
ubutu) - Don’t support
- Open source threading
- Light weight
and fast
PyQt/PySide2 -Rich set of -Provide -Popular in +++
feature themes and terms of
-Cross- styles that developing
platform mimics native robust
-Fast look and feel of
performance diff platform
-Qt designer a -Documentation
design too limitations
that allow to -Large
create application file
interface first (specially Qt
in a XML file libraries)
that can be
load with
PyQt5.
Kivy -Natural user -Interface look -multi-touch ++
interface and feel is not application
(respond to fully
touch gesture, customization
etc.) -Limited third
-Open source party libraries
-Pythonic support
syntax -performance

wxPython -Standard user -limited modern -Event -driven +++


interface UI programming
-extensive -Resourse
library comsumption
-Cross- -Lack of third
platform party libraries
-Event-driven
system: handle
input and
update
-Mature and
well-document
PyGObject N/A N/A N/A N/A N/A
PySImpleGUI N/A N/A N/A N/A N/A

Conclusion: Tkinter is easy to learn and have better interface than wxPython (modern) and usually
takes only 42 lines of code if wxPython take 68-70s lines of code. Also, Tkinter execute code in 1s
while wxPython takes 6s (example).
 Both Tkinter and wxPython are popular choices for creating graphical user interfaces (GUIs) in
Python. The choice between the two depends on your specific requirements and preferences.

Tkinter is the standard GUI toolkit for Python and is included with most Python installations. It
provides a simple and easy-to-use interface for creating basic GUI applications. Tkinter is well-
documented and has a large user base, which means there is plenty of community support and
resources available.

wxPython, on the other hand, is a wrapper around the popular wxWidgets C++ library. It offers a
more feature-rich and customizable GUI framework compared to Tkinter. wxPython supports native
look and feel across different platforms and provides a wider range of widgets and controls. It also
has good documentation and an active community.

In terms of generating graphs, both Tkinter and wxPython can integrate with matplotlib, which is a
powerful library for creating plots and graphs in Python. So, the choice between Tkinter and
wxPython does not affect the capability to generate graphs.

Ultimately, the decision between Tkinter and wxPython depends on factors such as your familiarity
with the toolkit, the complexity of your application, the desired look and feel, and the availability of
specific features you need. It's recommended to experiment with both toolkits and choose the one
that best suits your needs and preferences.

Game console: RemoteXY

You might also like