fixed python example client