Learning and Playing with Python. Possibly some usful resuable code here.