PyClass example