Chapter 16Creating Graphical User Interfaces
Most of the programs in previous chapters are not interactive. Once launched, they run to completion without giving us a chance to steer them or provide new input. The few that do communicate with us do so through the kind of text-only command-line user interface, or CLUI, that would have already been considered old-fashioned in the early 1980s.
As you already know, most modern programs interact with users via a graphical user interface, or GUI, which is made up of windows, menus, buttons, and so on. In this chapter, we will show you how to build simple GUIs using a Python module called tkinter. Along the way, we will introduce a different way of structuring programs called event-driven programming ...
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