Python script for the DHT22 Sensor on the Raspberry Pi
*update raspbian
sudo apt-get update
*install packages
sudo apt-get install build-essential python-dev python-openssl git
*load sensor library from Adafruit
git clone https://github.com/adafruit/Adafruit_Python_DHT.git && cd Adafruit_Python_DHT
*install it
sudo python setup.py install
*try reading the temperature and humidity using the example file
cd exmaples
sudo ./AdafruitDHT.py 22 4