--- /dev/null
+#!/usr/bin/env python
+
+from time import sleep
+import os
+import RPi.GPIO as GPIO
+
+GPIO.setmode(GPIO.BCM)
+GPIO.setup(17, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
+GPIO.setup(18, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
+
+while True:
+ if GPIO.input(17):
+ print('Pin 17')
+ if GPIO.input(18):
+ print('Pin 18')
+ sleep(0.1);
--- /dev/null
+sudo aptitude update
+sudo aptitude full-upgrade
+sudo aptitude install python-dev
+
+# Install the Easy Installer
+wget https://bitbucket.org/pypa/setuptools/raw/0.7.2/ez_setup.py -O - | sudo python
+
+# Install the RPi.GPIO library
+sudo easy_install RPi.GPIO