I personally like [`textwrap.dedent`](http://docs.python.org/2/library/textwrap.html#textwrap.dedent) for this sort of case.