The basic idea behind the project is to provide accessible and easy to understand and modify Machine reinforcement learning code that allows for interfacing with real world input. The small code base aims to allow for exploring simple interactions with the environment an entry level projects into reinforcement learning.
http://scncflab.com/blog/?p=385 - Installation and sensor setup
Rasberry Pi / Python Pybrain http://pybrain.org/
The listed websites contain in depth and understandable resource for learnig python / pybrain as well as code.
http://simontechblog.blogspot.com/2010/08/pybrain-reinforcement-learning-tutorial.html http://www.vishalavalani.com/build-a-raspberry-pi-robot-with-python/
Rasberry Pi helpful hardware links