change python example code a bit again: