Python porting tips.