Class python script