String concatenation vs. string formatting

Vinay Sajip vinay_sajip at
Sun Jul 10 11:47:08 CEST 2011

Andrew Berg <bahamutzero8825 <at>> writes:

> On 2011.07.10 02:23 AM, Vinay Sajip wrote:
> > There are examples in the blog post I linked to earlier:
> It seems that would require logutils. I'm trying to keep dependencies to
> a minimum in my project, but I'll take a look at logutils and see if
> there's anything else I could use. Thanks.

You don't need logutils, just the BraceMessage class - which is shown in the
blog post (around 10 lines). Feel free to use it with copy and paste :-)


Vinay Sajip

More information about the Python-list mailing list