adding python class

Bored at work and noticed you didn't have a python example yet.