Preface Introduction 1 Introduction What Is the Raspberry Pi? What Can You Do with a Raspberry Pi? A Tour of the Raspberry Pi Setting Up Your Raspberry Pi Booting Up Summary 2 Getting Started Linux The Desktop The Command Line Applications Internet Resources Summary 3 Python Basics Mu Numbers Variables For Loops Simulating Dice If While The Python Shell from the Terminal Summary 4 Strings, Lists, and Dictionaries String Theory Lists Functions Hangman Dictionaries Tuples Exceptions Summary of Functions Summary 5 Modules, Classes, and Methods Modules Object Orientation Defining Classes Inheritance Summary 6 Files and the Internet Files Pickling JSON Internet Summary 7 Graphical User Interfaces guizero Hello World Temperature Converter Other GUI Widgets Pop-Ups Menus Summary 8 Games Programming What Is Pygame? Coordinates Hello Pygame A Raspberry Game Summary 9 Interfacing Hardware GPIO Pin Connections Breadboarding with Jumper Wires Digital Outputs Analog Outputs Digital Inputs Analog Inputs HATs Summary 10 LED Fader Project What You Need Hardware Assembly Software Summary 11 Prototyping Project (Clock) What You Need Hardware Assembly Software Phase Two Summary 12 Raspberry Pi Robot Set Up the Raspberry Pi Zero W Web-Controlled Rover Autonomous Rover Summary 13 What Next Linux Resources Python Resources Raspberry Pi Resources Programming Languages Other Languages Applications and Projects Summary Index.
Programming the Raspberry Pi, Third Edition: Getting Started with Python