python example changed