EasyGPIO is a set of Python test scripts for your Raspberry Pi, to interact with the GPIO.
Files: gpio_blink.py: blinks an LED on pin 4. gpio_switch.py: uses a switch on pin 22 to turn an LED on/off on pin 4. gpio_diagram.jpg: circuit diagram with switch & LED using a pull-down resistor.
by Scott Kildall
www.kildall.com