O'Reilly logo

Hello World! Second Edition: Computer Programming for Kids and Other Beginners by Warren Sande and Carter Sande

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required