Chapter 20. More GUIs
We made some simple GUIs back in chapter 6, when we used EasyGui to make some dialog boxes (or just dialogs for short). But GUIs need more than dialogs. In most modern programs, the whole program runs in a GUI. In this chapter, we’re going to explore making GUIs with PyQt, which gives you more flexibility and control over how things look.
PyQt is a module that helps you create GUIs. We’re first going to use it to make a version of our temperature-conversion program.
Working with PyQt
Before using PyQt, you have to make sure it’s installed on your computer. If you installed Python using the book’s installer, PyQt is already installed. If not, you’ll have to download and install it separately. You can get PyQt from www.riverbankcomputing.com/software/pyqt/download ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access