Programming the Raspberry Pi, Second Edition: Getting Started with Python

Programming the Raspberry Pi, Second Edition: Getting Started with Python

by Simon Monk
Programming the Raspberry Pi, Second Edition: Getting Started with Python

Programming the Raspberry Pi, Second Edition: Getting Started with Python

by Simon Monk

Paperback

$15.00 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product.

Learn 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



Product Details

ISBN-13: 9781259587405
Publisher: McGraw-Hill Professional Publishing
Publication date: 10/09/2015
Pages: 208
Sales rank: 1,129,127
Product dimensions: 8.90(w) x 6.00(h) x 0.50(d)

About the Author

Dr. Simon Monk has a bachelor’s degree in cybernetics and computer science and a Ph.D. in software engineering. He is now a full-time writer and has authored numerous books, including Programming Arduino, 30 Arduino Projects for the Evil Genius, Hacking Electronics, and Fritzing for Inventors. Dr. Monk also runs the website monk.makes.com, which features his own products.

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

From the B&N Reads Blog

Customer Reviews