> The textwrap.dedent() function is provided for just this purpose: Thanks. That was the thing I was looking for, though it's a big ugly, plus it eats some unnecessary CPU cycles at run time. But I think one can live with that. Chris