We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

Cover of Create Graphical User Interfaces with Python

Create Graphical User Interfaces with Python

or free PDF download

Add buttons, boxes, pictures and colours and more to your Python programs using the guizero library, which is quick, accessible, and understandable for all.

This 156-page book is suitable for everyone, from beginners to experienced Python programmers who want to explore graphical user interfaces (GUIs).

There are ten fun projects for you to create, including a painting program, an emoji match game, and a stop-motion animation creator.

  • Create games and fun Python programs
  • Learn how to create your own graphical user interfaces
  • Use windows, text boxes, buttons, images, and more
  • Learn about event-based programming
  • Explore good (and bad) user interface design

This book was written using an earlier version of Raspberry Pi OS. Please use Raspberry Pi OS (Legacy) for full compatibility. See magpi.cc/legacy for more information.

Errata

P.69, 75-77 of the print version

The if statements to set the speed variable based on the score are in the wrong order. They should be as follows:

if score > 30:

` speed = 200`

elif score > 20:

` speed = 400`

elif score > 10:

` speed = 500`

Print Subscriptions

12 month recurring subscription

  • 12 issues per year
  • Free Raspberry Pi Pico 2 W (or Pico 2) *
  • Up to to 23% cheaper
  • Free delivery to your door
  • Available worldwide

*Free Raspberry Pi Pico W with first subscription (renewals not included)

From £55

£10 for 3 issues

  • £10 for 3 issues paid by Direct Debit
  • Free Pico 2 W (or Pico 2)
  • Renews at £15 every 3 issues
  • Cancel at any time
  • Free delivery to your door
  • UK only
From £10

6 month recurring subscription

  • Free delivery to your door
  • Available worldwide
  • Free Pico 2 W (or Pico 2)
  • Cheaper than newsstand
  • Cancel at any time
From £30

Digital Subscriptions

App Store

  • Free to download & 30 free issues
  • Best mobile reading experience
  • Read news straight from the app
  • Buy issues or subscribe from £2.49
From £3

Google Play

  • Free to download & 30 free issues
  • Best mobile reading experience
  • Read news straight from the app
  • Buy issues or subscribe from £2.49
From £3

Free PDF Edition

  • Delivered to your inbox
  • Optimised for screens
  • Clickable web links
  • Occasional news updates
Free

Sign up to the newsletter

Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.