Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours

(singke) #1

In the next hour, you will be learning about the Raspbian operating system, as well as how to navigate
through its interface to the Raspberry Pi.


Q&A


Q. This book has only one hour on setting up my Raspberry Pi. Where can I get more help?
A. You can get additional help from the following sources:
The Raspberry Pi Foundation and its forums, at http://www.raspberrypi.org/phpBB3/.
The Embedded Linux Wiki for Raspberry Pi, at elinux.org/RPi_Hub.
The book Hacking Raspberry Pi.
Q. What version of Python does this book cover?
A. Python v3. That topic is covered in Hour 3, “Setting Up a Programming Environment.”
Q. Does this book contain a recipe for Raspberry Pie?
A. No, there was not enough room for all the possible recipe variations. However, open up your
favorite web browser and type into your search engine “raspberry pie recipes.” You will find
a lot of links to recipes.

Workshop


Quiz


1. Python is easy to learn but has very little power so can’t be used for complicated programs.
True or false?
2. The Raspberry Pi can use different operating systems. Which one is recommended for those
who are new to the Raspberry Pi?
3. The Raspberry Pi’s on/off switch is hard to see on the circuit board and it is located near the:
a. SoC
b. RJ45 jack
c. Power port

Answers


1. False. Python is an extremely powerful programming language and is not considered wimpy in
any way.
2. The Raspbian operating system is recommended for those starting out with a Raspberry Pi.
3. This is a trick question! The Raspberry Pi does not have an on/off switch. To turn on the
Raspberry Pi, you must plug it into a power source. To turn off the Raspberry Pi, you must
unplug it from the power source.
Free download pdf