PyClass function

Create a python class