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 ...

Get Hello World! Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.