Programming the Raspberry Pi: Getting Started with Python, Second Edition

  • 2h 21m
  • Simon Monk
  • McGraw-Hill
  • 2016

An updated guide to programming your own Raspberry Pi projects

Learn to create inventive programs and fun games on your powerful Raspberry Pi―with no programming experience required. This practical book has been revised to fully cover the new Raspberry Pi 2, including upgrades to the Raspbian operating system. Discover how to configure hardware and software, write Python scripts, create user-friendly GUIs, and control external electronics. DIY projects include a hangman game, RGB LED controller, digital clock, and RasPiRobot complete with an ultrasonic rangefinder.

  • Updated for Raspberry Pi 2
  • Set up your Raspberry Pi and explore its features
  • Navigate files, folders, and menus
  • Write Python programs using the IDLE editor
  • Use strings, lists, functions, and dictionaries
  • Work with modules, classes, and methods
  • Create user-friendly games using Pygame
  • Build intuitive user interfaces with Tkinter
  • Attach external electronics through the GPIO port
  • Add powerful Web features to your projects

About the Author

Dr. Simon Monk has a bachelor’s degree in cybernetics and computer science and a Ph.D. in software engineering. He is now a full-time writer and has authored numerous books, including Programming Arduino, 30 Arduino Projects for the Evil Genius, Hacking Electronics, and Fritzing for Inventors. Dr. Monk also runs the website monk.makes.com, which features his own products.

In this Book

  • Introduction
  • Introduction
  • Getting Started
  • Python Basics
  • Strings, Lists, and Dictionaries
  • Modules, Classes, and Methods
  • Files and the Internet
  • Graphical User Interfaces
  • Games Programming
  • Interfacing Hardware
  • LED Fader Project
  • Prototyping Project (Clock)
  • Raspberry Pi Robot
  • What Next
SHOW MORE
FREE ACCESS