First, the Python way...
Python is already installed on the RasPi; for those who don't know, 'Pi' refers to the Python language. To interact with the GPIO through Python, you have to install the GPIO Python libraries. The latest available is RpiKGmfl-0KPKN~Kt~rKgz. aownload it from httpWLLr~spberry-gpio-pythonKgooglecodeK