Python : Boilerplate