adjust python example