better python style