, ,

Learning Python with Raspberry Pi

Paperback Engels 2014 9781118717059
€ 32,28
Levertijd ± 8 werkdagen
Gratis verzonden

Samenvatting

The must–have companion guide to the Raspberry Pi User Guide!
Raspberry Pi chose Python as its teaching language of choice to encourage a new generation of programmers to learn how to program. This approachable book serves as an ideal resource for anyone wanting to use Raspberry Pi to learn to program and helps you get started with the Python programming language. Aimed at first–time developers with no prior programming language assumed, this beginner book gets you up and running.

-Covers variables, loops, and functions

-Addresses 3D graphics programming

-Walks you through programming Minecraft

-Zeroes in on Python for scripting

Learning Python with Raspberry Pi proves itself to be a fantastic introduction to coding.

Specificaties

ISBN13:9781118717059
Taal:Engels
Bindwijze:paperback
Aantal pagina's:286
Verschijningsdatum:12-3-2014
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Introduction 1
What Is Programming? 1
Why the Raspberry Pi? 2
How Does this Book Work? 2

CHAPTER 1 Getting Up and Running 5
Setting Up Your Raspberry Pi 5
Solving Problems 6
A Quick Tour of Raspbian 7
Using LXDE (Lightweight X11 Desktop Environment) 7
Using the Terminal 8
Changing Configurations with Raspi–Config 10
Installing Software 10
Python 3 11
The Python Interpreter 11
Running Python Programs 11
Summary 12

CHAPTER 2 A Really Quick Introduction to Python 13
Drawing Picture with Turtles 13
Using Loops 16
Conditionals: if, elif, and else 18
Using Functions and Methods to Structure Code 20
A Python Game of Cat and Mouse 21
Understanding Variables 24
Defining Functions 24
Looping Through the Game 25
Summary 26

CHAPTER 3 Python Basics 27
Variables, Values, and Types 27
Values Have Types 28
Storing Numbers 29
Keeping Text in Strings 30
Boolean: True or False 31
Converting Between Data Types 32
Test Your Knowledge 32
Exercise 1 33
Storing Values in Structures 33
Non–Sequential Values in Dictionaries and Sets 37
Test Your Knowledge 38
Controlling the Way the Program Flows 38
Moving Through Data with for Loops 39
Going Deeper with Nested Loops 40
Branching Execution with if Statements 41
Catching Exceptions 42
Exercise 2 43
Making Code Reusable with Functions 43
Optional Parameters 46
Bringing Everything Together 46
Exercise 3 48
Building Objects with Classes 49
Getting Extra Features from Modules 54
Summary 55
Solutions to Exercises 56
Exercise 1 56
Exercise 2 56
Exercise 3 56

CHAPTER 4 Graphical Programming 57
Afgekapt op 60 regels

Managementboek Top 100

€ 32,28
Levertijd ongeveer 8 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Learning Python with Raspberry Pi