Raspberry Pi Cookbook for Python Programmers
By Tim Cox
Publisher: Packt Publishing
Final Release Date: April 2014
Pages: 402

In Detail

The Raspberry Pi foundation has been selling their computers since 2012 with the aim of inspiring programmers and engineers.

Raspberry Pi Cookbook for Python Programmers is a practical guide for getting the most out of this little computer. It will guide you through the many uses of the Raspberry Pi and allow you to showcase the best it has to offer. Discover what the Raspberry Pi has to offer using detailed Python 3 examples that you can adapt and extend; see where your creativity takes you!

"Raspberry Pi Cookbook for Python Programmers" begins by guiding you through setting up the Raspberry Pi, performing tasks using Python 3 and introduces the first steps to interface with electronics. As you work through each chapter you will build up your skills and knowledge and apply them as you progress throughout the book, delving further and further into the unique abilities and features of the Raspberry Pi.

Later, you will learn how to automate tasks by accessing files, build applications using the popular Tkinter library and create games by controlling graphics on screen. You will harness the power of the built-in graphics processor by using Pi3D to generate your own high quality 3D graphics and environments. Connect directly to the Raspberry Pi’s hardware pins to control electronics from switching on LEDs and responding to push buttons right through to driving motors and servos. Learn how to monitor sensors to gather real-life data and use it to control other devices, and view the results over the Internet. Apply what you have learnt by creating your own Pi-Rover or Pi-Hexipod robots. Finally, we will explore using many of the purpose-built add-ons available for the Raspberry Pi, as well as interfacing with common household devices in new ways.

The "Raspberry Pi Cookbook for Python Programmers" will allow you to discover the vast range of abilities this micro-computer has. By following the clear examples you can pick up many new skills and arm yourself with the tools to create your own exciting and interesting projects.


"Raspberry Pi Cookbook for Python Programmers" is written in a Cookbook format, presenting examples in the style of recipes.This allows you to go directly to your topic of interest, or follow topics throughout a chapter to gain a thorough in-depth knowledge.

Who this book is for

The aim of this book is to bring you a broad range of Python 3 examples and practical ideas which you can develop to suit your own requirements. By modifying and combining the examples to create your own projects you learn far more effectively with a much greater understanding. Each chapter is designed to become a foundation for further experimentation and discovery of the topic, providing you with the tools and information to jump right in.

Readers are expected to be familiar with programming concepts and Python (where possible Python 3 is used), although beginners should manage with the help of a good Python reference book and background reading. No prior knowledge of the Raspberry Pi or electronics is required; however for the hardware sections you will need some basic electronic components/household tools to build some of the projects.

Product Details
Recommended for You
Customer Reviews


by PowerReviews
oreillyRaspberry Pi Cookbook for Python Programmers

(based on 2 reviews)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 2 customers

Displaying reviews 1-2

Back to top


An amusing Raspberry Pi programming Book

By Raul

from Atlanta, GA

About Me Developer

Verified Reviewer


  • Broad
  • Concise
  • Helpful examples


  • Needs Programming Bgrd

Best Uses

  • Expert
  • Intermediate
  • Student

Comments about oreilly Raspberry Pi Cookbook for Python Programmers:

If you have a Raspberry Pi, the like hood of you being an computer enthusiast is really high, then I would strongly suggest this book to take a step further and take to the limits the power of this bare bone computer.

Although the learning curve this book offers is considerably pronounced (preferred reader with previous programming knowledge), Python is an easy language to pickup, with a comprehensive number of examples and line-by-line explanation of what is going on during execution, this book will guide you from a simple "hello world" to a 3D environment using the library pi3D.

But it is not just about the software, it also helps you to understand the Raspberry Pi hardware in order to interact with leds, diodes, resistors or motors and have them under your full control. But a led gets boring quite easy, what about a Camera, or a robot bridged by a Microcontroller and controlled using a python scrip. Possibilities are endless.

I barely have downsides for this book apart from the hardware acquisitions that must be done, but of course, the author has an appendix with all those devices and where to get them.


Practical book!

By Vijay N Phadke

from Fremont, CA

About Me Developer, Maker

Verified Buyer


  • Concise
  • Easy to understand


    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about oreilly Raspberry Pi Cookbook for Python Programmers:

    A well rounded book for all those makers and students to whom Raspberry Pi is really geared for. Python oriented approach makes it much easier to focus on building and writing programs. A range of projects with sufficient details suitable for beginners and advanced makers alike.

    Displaying reviews 1-2

    Back to top

    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook:  $26.99
    Formats:  ePub, Mobi, PDF