the python class