Jump to ratings and reviews
Rate this book

Programming the Raspberry Pi: Getting Started with Python

Rate this book
An updated guide to programming your own Raspberry Pi projectsLearn to create inventive programs and fun games on your powerful Raspberry Pi--with no programming experience required. This practical TAB 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.


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

287 pages, Kindle Edition

First published January 1, 2012

292 people are currently reading
498 people want to read

About the author

Simon Monk

91 books25 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
109 (26%)
4 stars
155 (37%)
3 stars
122 (29%)
2 stars
23 (5%)
1 star
7 (1%)
Displaying 1 - 17 of 17 reviews
Profile Image for Karel Baloun.
513 reviews44 followers
July 24, 2017
Get this if you are completely new to Raspberry Pi AND you are interested in an intro to hardware manipulation. Plan to skip the python intro, because if you are this much of a hobbyist, you already know it, and better is probably free online personalized more to your background and needs.

I reached for the 4-star because this blend of simple software powering so easily rather complicated hardware, with every single part of the system so open and visible to me.... felt really amazing. The Pi and Arduino are amazing.

Only a very very basic intro mostly for students. I powered through it in 2hrs.

Profile Image for James.
557 reviews8 followers
May 25, 2015
This was a good quick start guide. While it lacked some details to learn some of the underpinnings (I'm a complete novice) it definitely was a helpful approachable introduction to many used and aspects of the Pi.
Profile Image for Amjad Abdullah.
72 reviews2 followers
September 10, 2017
Good book. However, not very helpful for novice audienc or beginners. Beginners need more details and explanations on simple stuff before they can step ahead to a harder level.
Profile Image for David Talach.
22 reviews6 followers
June 3, 2018
Great short book to get you up and running quickly, along with first programming and GPIO with Hardware.
Profile Image for Miron.
4 reviews
January 10, 2019
First raspberry examples start in chapter 9. More than half of this book is about introduction to Python.
2 reviews
March 2, 2019
Very good for Raspberry Pi starter projects

Very quick helpful tips to get you started if you are using Raspberry Pi for the first time. Enjoy your projects.
Profile Image for Kimberly McCollum.
157 reviews3 followers
November 23, 2019
If the books that I purchased to help me design a curriculum to use with my students to learn Python on the Raspberry Pi, this was the least useful.
Profile Image for BCPI.
41 reviews
January 10, 2020
I liked, the main thing that taught me python, my only criticism is that the pickling files script don't work.
2,072 reviews56 followers
April 4, 2023
This book is mostly python lessons. I would be good to have more projects
Profile Image for Nippy Katz.
47 reviews
January 17, 2016
This book approaches the Raspberry Pi through Python, the idea being to learn both Python and RP internals together. It's not bad as an intro to Python. A beginner could learn enough basic programming concepts to write some interesting code. One drawback is that the author seems bent on teaching the principles of spaghetti code. He delights in using the break keyword as a way to exit loops, as though logical conditions are only there to control the use of "break." If your intro to coding is this book you should know that in all languages where it exists, the break keyword is used only in cases where it's the only tool available. In standard loops, for example, it's never necessary to use it. A loop should always end when the logical condition that governs its operation changes. It may seem picky, but good style is the sum of a bunch of small habits. It leads to code that's easier to maintain and easier to understand.
6 reviews
January 31, 2013
A pretty complete introduction to Python. The examples throughout the book reference the Raspberry Pi and the Raspian Wheezy distribution of Linux specifically but there is no reason you could not use this to get started with Python on any platform it runs on with very minor adjustments, most of which would be related to OS specific items like: path, permissions, and syntax. I have lots of other Python books but this is the first one I read all the way through while working the examples which should say a lot about the book. The first 2 chapters (24 pgs) are all about the Raspberry Pi but the rest is all Python goodness in an easily digestible format.
Profile Image for Sarah.
832 reviews3 followers
March 10, 2013
An interesting book with project ideas for the Raspberry Pi. Lots of Python--it depends on whether you are new to it or are already familiar with Python if you will find this a good resource or not. The robot building section towards the back looked fun. Mind you, I haven't tried any of these programs (I picked up the book just to check the content), but it looks very manageable for a beginner to work through all of the Python exercises here.
Profile Image for Jon Galbreath.
5 reviews1 follower
August 16, 2016
Great introduction

I've had a Pi for a while and I've recently been getting into tinkering with I/O and scripting with Python. The examples in the book are great for clearing up some confusion I'd had with learning Python's quirks.
Displaying 1 - 17 of 17 reviews

Can't find what you're looking for?

Get help and learn more about the design.