Programming the Raspberry Pi: Getting Started with Python

Programming the Raspberry Pi: Getting Started with Python

  • Downloads:5787
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2021-10-20 06:54:38
  • Update Date:2025-09-06
  • Status:finish
  • Author:Simon Monk
  • ISBN:1259587401
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

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 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

Download

Reviews

Michael

I liked, the main thing that taught me python, my only criticism is that the pickling files script don't work。 I liked, the main thing that taught me python, my only criticism is that the pickling files script don't work。 。。。more

Kimberly McCollum

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。

Ansuman

Very good for Raspberry Pi starter projectsVery quick helpful tips to get you started if you are using Raspberry Pi for the first time。 Enjoy your projects。

Miron

First raspberry examples start in chapter 9。 More than half of this book is about introduction to Python。

Sander

Definitely worth picking up if you’re new to the Raspberry Pi and want to learn the basics of programming in Python and how to use the Raspberry Pi for DIY projects。 The book lays the groundwork for both of these topics in a very easy to understand way, with fun exercises and the ability to easily check the correct lines of code for each exercise。

David Talach

Great short book to get you up and running quickly, along with first programming and GPIO with Hardware。

Charlotte Dungan

This is an older version of the Pi (2) so was less useful to me。

Amjad Abdullah

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。

Daniel Espinoza

Half of this book is an intro to Python。 The other half has good basic examples of the libraries available for programming GUI, GPIO, and working with internet resources。

Karel Baloun

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 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。 。。。more

Jon Galbreath

Great introductionI'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。 Great introductionI'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。 。。。more

Nippy Katz

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 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。 。。。more

James

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。 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。 。。。more

David

Python

Haneen

A present :)

Jorge Bouza

Se salva de la quema porque contiene algunos proyectos para Raspberry Pi + Python bastante específicos。 Pero en general no aporta nada imposible de encontrar con un par de toques a Google。

Sarah

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。 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。 。。。more

John

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 sh 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。 。。。more