Need cleanup advice for multiline string

Bearophile bearophileHUGS at lycos.com
Tue Aug 11 16:40:24 EDT 2009


Robert Dailey:
> This breaks the flow of scope. Would you guys solve this
> problem by moving failMsg into global scope?
> Perhaps through some other type of syntax?

There are gals too here.
This may help:
http://docs.python.org/library/textwrap.html#textwrap.dedent

Bye,
bearophile



More information about the Python-list mailing list