added python example by @leah [ci skip]