Fix Python examples