Raspberry Pi Linux LESSON 26: Controlling the Raspberry Pi GPIO pins from Python HD
In this tutorial we show how to control the GPIO pins on the Raspberry Pi from a python program. We introduce the concepts by running commands from the python shell, and then show how to blink an LED using a python program. We explore both the BOARD and BCM pin numbering schemes. See full details at: http://www.toptechboy.com/raspberry-pi/raspberry-pi-with-lesson-26-controlling-gpio-pins-in-python/