GUI Programming With PyQt
Learning Path ⋅ Skills: PyQt, Qt Designer, Layouts, Menus, SQL Databases, QThread, SQLite, GUI Design
PyQt gives you the tools to build professional desktop applications with Python. This learning path takes you from your first window to complete, polished GUI projects using Qt’s powerful framework.
By completing this path, you’ll be able to:
- Build a GUI calculator and create menus, toolbars, and status bars
- Arrange widgets using PyQt’s layout managers
- Design interfaces visually with Qt Designer
- Connect your applications to SQL databases
- Keep your GUIs responsive by offloading work to threads with QThread
- Build complete applications, including a contact book and a bulk file rename tool
This path is for Python developers who want to create cross-platform desktop applications. You should be comfortable with Python classes and basic object-oriented programming.
You’ll start with PyQt fundamentals, pick up essential tools and techniques, then put everything together in hands-on projects.
GUI Programming With PyQt
Learning Path ⋅ 8 Resources
PyQt Fundamentals
Get started with PyQt by building your first applications. You’ll create a calculator, add menus and toolbars, and learn how to arrange widgets using layout managers.
Course
Build a GUI Calculator With PyQt and Python
Learn how to create graphical user interface (GUI) applications with Python and PyQt. Once you've covered the basics, you'll build a fully functional desktop calculator that can respond to user events with concrete actions.
Tutorial
Python and PyQt: Creating Menus, Toolbars, and Status Bars
In this step-by-step tutorial, you’ll learn how to create, customize, and use Python menus, toolbars, and status bars for creating GUI applications using PyQt.
Course
Creating PyQt Layouts for GUI Applications
In this step-by-step course, you’ll learn how to use PyQt layouts to arrange and manage the graphical components on your GUI applications. With the help of PyQt's layout managers, you'll be able to create polished and professional GUIs with minimal effort.
Tools and Techniques
Learn to use Qt Designer for visual GUI building, connect your applications to SQL databases, and keep your interfaces responsive with worker threads.
Tutorial
Qt Designer and Python: Build Your GUI Applications Faster
Learn how to use Qt Designer to create GUIs from your windows and dialogs and use them in your Python applications.
Tutorial
Handling SQL Databases With PyQt: The Basics
In this step-by-step tutorial, you’ll learn how to use PyQt's built-in SQL support to create GUI applications that effectively manage SQL databases.
Tutorial
Use PyQt's QThread to Prevent Freezing GUIs
In this step-by-step tutorial, you’ll learn how to prevent freezing GUIs by offloading long-running tasks to worker QThreads in PyQt.
Building Complete Applications
Put everything together by building real-world desktop applications that combine GUI elements, database access, and file operations.
Tutorial
Build a Contact Book With Python, PyQt, and SQLite
In this step-by-step project, you'll build a minimal contact book application using Python, with PyQt to build the application's GUI and SQLite to handle the database.
Tutorial
Build a Bulk File Rename Tool With Python and PyQt
In this step-by-step project, you'll build a bulk file rename tool using Python and pathlib to manage the file renaming process and PyQt to provide the application's GUI.
Congratulations on completing this learning path! You’ve learned to build professional desktop applications with PyQt, from basic widgets and layouts to database-driven projects.
You might also be interested in these related learning paths:
Got feedback on this learning path?
Looking for real-time conversation? Visit the Real Python Community Chat or join the next “Office Hours” Live Q&A Session. Happy Pythoning!