added python example without reseting the cache