- Python offers several ways to create GUI (Graphical User Interface) user-friendly applications.
- Some of the most popular Python libraries are used for building GUI applications:-
Tkinter (Built-in GUI Library)
-
- This library is already included with/pre-installed with Python/built into Python (no extra installation is needed).
- This is simple, easy, and lightweight.
- This Python library is good for small applications and has a simple UI.
PyQt (Powerful GUI for Desktop Apps)
-
- This Python library is feature-rich, powerful, and has with modern look.
- This Python library supports to development of complex applications
- They support cross-platform (Windows, macOS, Linux) facility.
- This library is not pre-installed with Python.
- To install this library, we use ‘pip install PyQt6‘ at the Command prompt/Pycharm terminal.
Kivy (For Mobile & Touchscreen Apps)
-
- This library is great for mobile & touchscreen app development.
- This library supports cross-platform (Windows, macOS, Android, iOS) features.
- It supports multi-touch features.
- This is not a pre-installed library/come with Python rather installed later.
- It is comparatively harder to learn.
- This library is not pre-installed with Python.
- To install this library, we use ‘pip install kivy‘ at the Command prompt/Pycharm terminal.
PySide (Official Qt for Python)
-
- This library is very similar to PyQt but is officially supported by Qt.
- This library is not pre-installed with Python.
- To install this library, we use ‘pip install PySide6‘ at the Command prompt/Pycharm terminal.
PyGame (For Game Development)
-
- This library has game development with UI features.
- This library is optimized for games.
- This library is not ideal for business/commercial apps.
- This library is not pre-installed with Python.
- To install this library, we use ‘pip install pygame‘ at the Command prompt/Pycharm terminal.
0 Comments