Working with the Class System in Python