A Gentle Introduction to Python Coding on the Raspberry Pi
The Raspberry Pi is a low cost educational platform specifically aimed at hardware and software experimentation.
Available for £25 or less it's an ideal product for anyone with a desire to learn the craft of software programming and explore the powerful Linux operating system.
This collection of posts is based around my six part Micro Mart magazine series "Learn Python on the Raspberry Pi" published in summer 2012.
It's intended to be both interactive and fun. You'll learn the Python language by experimentation, typing in the fully documented code to see what happens.
Each post will steadily grow your knowledge of the Python language and the art of programming.
(Note: code examples use Python version 2 and also run on Windows, Mac OS X and Linux.)
Here's the list of posts:
Part 1: Diving In• Why Python?
• Which Python?
• Interactive Python
• Assigning Variables
• Using Functions
• Introducing Modules
• Your First Program
Part 2: Going Loopy
• Introducing Loops
• While Loops
• Timer App
• Running Timer
• For Loops
• File Walk App
Part 3: Building Blocks
• Program Structure
• Using Functions
• Creating Functions
• Guessing Game
Part 4: A GUI World
• GUI Windows
• GUI Code Structure
• GUI Event Handling
• Installing Tkinter
• Simple GUI App
• GUI File Search App
Part 5: Turtle Fun
• What is Logo?
• The Turtle Module
• Move That Turtle
• Draw In Colour
• Turtle Patterns
• Turtle Shapes
• Tom The Turtle
• Tom and Tim Stomp
Part 6: PyGame Basics
• Why PyGame?
• PyGame Overview
• PyGame Installation
• PyGame Events
• PyGame Event Handling
• PyGame Colours
• PyGame Init Code
• PyGame Screen Drawing
• PyGame Complete App