Programming the Raspberry Pi: Getting Started with Python

Programming the Raspberry Pi: Getting Started with Python

3.74 (359 ratings by Goodreads)
By (author) 

List price: US$15.00

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

Description

Program your own Raspberry Pi projectsCreate innovative programs and fun games on your tiny yet powerful Raspberry Pi. In this book, electronics guru Simon Monk explains the basics of Raspberry Pi application development, while providing hands-on examples and ready-to-use scripts. See how to set up hardware and software, write and debug applications, create user-friendly interfaces, and control external electronics. Do-it-yourself projects include a hangman game, an LED clock, and a software-controlled roving robot.



Boot up and configure your Raspberry PiNavigate files, folders, and menusCreate Python programs using the IDLE editorWork with strings, lists, and functionsUse and write your own libraries, modules, and classesAdd Web features to your programsDevelop interactive games with PygameInterface with devices through the GPIO portBuild a Raspberry Pi Robot and LED ClockBuild professional-quality GUIs using Tkinter
show more

Product details

  • Paperback | 192 pages
  • 154.94 x 231.14 x 17.78mm | 252g
  • TAB Books Inc
  • New York, United States
  • English
  • 50 Illustrations, unspecified
  • 0071807837
  • 9780071807838
  • 50,328

Table of contents

Chapter 1. IntroductionWhat is the Raspberry Pi?
What can you do with a Raspberry Pi?
A Tour of the Raspberry Pi
Setting Up
Booting Up
Summary
Chapter 2. Getting StartedLinux
The Desktop
The Internet
Applications
Internet Resources
Summary
Chapter 3. Python BasicsWhat is a Programming Language?
IDLE
Numbers
Variables
For Loops
Simulating Dice
If
While
Summary
Chapter 4. Strings, Lists and DictionariesString Theory
Lists
Functions
Hangman
Dictionaries
Tuples
Exceptions
Summary of Functions
Summary
Chapter 5. Modules, Classes and MethodsModules
Object-Orientation
Defining Classes
Inheritance
Summary
Chapter 6. Files and InternetFiles
Pickling
Internet
Summary
Chapter 7. Graphical User InterfacesTkinter
Hello World
Temperature Converter
Other GUI Widgets
Dialogs
Menus
The Canvas
Summary
Chapter 8. Games ProgrammingWhat is Pygame?
Hello Pygame
A Raspberry Game
Summary
Chapter 9. Interfacing HardwareGPIO Pin Connections
Direct connection to GPIO Pins
Expansion Boards
Prototyping Boards
Arduino and Pi
Summary
Chapter 10. Prototyping Project (Clock)What You Need
Hardware Assembly
Software
Phase Two
Summary
Chapter 11. The RaspiRobotWhat You Need
Phase 1. A Basic Rover
Hardware Assembly
Phase 2. Adding a Rangefinder and Screen
Summary
Chapter 12. What Next?Linux Resources
Python Resources
Raspberry Pi Specific Resources
Other Programming Languages
Applications and Projects
Summary
show more

About Simon Monk

Dr. Simon Monk has a degree in Cybernetics and Computer Science and a PhD in Software Engineering. He spent several years as an academic before he returned to industry, co-founding the mobile software company Momote Ltd. Dr. Monk has been an active electronics hobbyist since his early teens and is a full-time writer on hobby electronics and open source hardware. He is the author of numerous electronics books, including 30 Arduino Projects for the Evil Genius and Arduino + Android Projects for the Evil Genius, as well as co-author of Practical Electronics for Inventors, Third Edition.
show more

Rating details

359 ratings
3.74 out of 5 stars
5 24% (86)
4 37% (134)
3 30% (109)
2 6% (23)
1 2% (7)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X