Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: davidfx Newsgroups: comp.lang.python Subject: Re: .format vs. % Date: Sat, 31 Dec 2011 10:44:08 -0800 (PST) Organization: http://groups.google.com Lines: 8 Message-ID: <3779937.289.1325357048110.JavaMail.geo-discussion-forums@vbtv37> References: <5642862.375.1325355574622.JavaMail.geo-discussion-forums@vbbhx10> Reply-To: comp.lang.python@googlegroups.com NNTP-Posting-Host: 70.31.37.97 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1325357148 25115 127.0.0.1 (31 Dec 2011 18:45:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 31 Dec 2011 18:45:48 +0000 (UTC) Cc: python-list@python.org, davidfx In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.31.37.97; posting-account=OOyNKgoAAABG5_3kNJmfi1GjzdorQdSJ User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:18263 Thanks for your response. I know the following code is not going to be correct but I want to show you what I was thinking. formatter = "%r %r %r %r" print formatter % (1, 2, 3, 4) What is the .format version of this concept?