An up-to-date guide to creating your own fun and useful Raspberry Pi™ programs
This fully updated guide shows how to create inventive programs and fun games on your powerful Raspberry Pi—with no programming experience required. Programming the Raspberry Pi™: Getting Started with Python, Third Edition addresses physical changes and new setup procedures as well as OS updates to the current version 4. You will discover how to configure hardware and software, write Python scripts, create user-friendly GUIs, and control external electronics. Step-by-step projects include a digital clock prototype and a fully functioning Raspberry Pi robot.
Configure your Raspberry Pi and explore its features
Start writing and debugging Python programs
Use strings, lists, functions, and dictionaries
Work with modules, classes, and methods
Apply object-oriented development methods
Create user-friendly games using Pygame
Build intuitive user interfaces with guizero
Interface with hardware using the gpiozero library
Attach external electronics through the GPIO port
Add powerful Web features to your projects