Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:string': 0.09; 'examples': 0.12; 'from:addr:vinay_sajip': 0.16; 'message-id:@post.gmane.org': 0.16; 'sajip': 0.16; 'subject:formatting': 0.16; 'subject:vs.': 0.16; 'tried:': 0.16; 'vinay': 0.16; 'writes:': 0.25; 'andrew': 0.32; "i've": 0.33; 'to:addr:python-list': 0.34; 'header:X -Complaints-To:1': 0.34; 'header:User-Agent:1': 0.34; 'there': 0.34; 'post': 0.34; 'charset:us-ascii': 0.36; 'received:org': 0.38; 'subject:: ': 0.38; 'from:addr:yahoo.co.uk': 0.38; 'linked': 0.38; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'url:10': 0.65; 'subject:. ': 0.66 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Vinay Sajip Subject: Re: String concatenation vs. string formatting Date: Sun, 10 Jul 2011 07:23:12 +0000 (UTC) References: <4E17661D.6020307@gmail.com> <4E18CFF8.1060908@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 82.152.15.113 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.18) Gecko/20110614 Firefox/3.6.18) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1310282606 news.xs4all.nl 21892 [2001:888:2000:d::a6]:50597 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:9156 Andrew Berg gmail.com> writes: > How would I do that with the newer formatting? I've tried: There are examples in the blog post I linked to earlier: http://plumberjack.blogspot.com/2010/10/supporting-alternative-formatting.html Regards, Vinay Sajip