Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9159

Re: String concatenation vs. string formatting

From Vinay Sajip <vinay_sajip@yahoo.co.uk>
Subject Re: String concatenation vs. string formatting
Date 2011-07-10 09:47 +0000
References <4E17661D.6020307@gmail.com> <loom.20110709T125838-983@post.gmane.org> <4E18CFF8.1060908@gmail.com> <loom.20110710T092117-742@post.gmane.org> <4E1959DA.80600@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.834.1310291243.1164.python-list@python.org> (permalink)

Show all headers | View raw


Andrew Berg <bahamutzero8825 <at> gmail.com> 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 :-)

Regards,

Vinay Sajip



Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: String concatenation vs. string formatting Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2011-07-10 09:47 +0000

csiph-web