Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75304
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fomcl@yahoo.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.156 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.70; '*S*': 0.01; 'python,': 0.02; 'output': 0.05; 'string': 0.09; 'formatting': 0.09; 'template': 0.14; 'tuple': 0.16; 'to:name:python-list@python.org': 0.22; 'header:Received:8': 0.24; 'switch': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'that.': 0.31; 'probably': 0.32; 'url:python': 0.33; 'older': 0.33; 'but': 0.35; 'method': 0.36; 'url:org': 0.36; 'should': 0.36; 'url:library': 0.38; 'to:addr :python-list': 0.38; 'rather': 0.38; 'ability': 0.39; 'to:addr:python.org': 0.39; 'received:98.137': 0.60; 'subject:"': 0.60; 'new': 0.61; 'url:3': 0.61; 'details.': 0.61; 'details': 0.65; 'header:Reply-To:1': 0.67; 'received:gq1.yahoo.com': 0.68; 'received:mail.gq1.yahoo.com': 0.68; 'received:98.136': 0.69; 'subject:hello': 0.83; 'subject:this': 0.83; 'received:bullet.mail.gq1.yahoo.com': 0.84; 'subject:you': 0.87 |
| X-Yahoo-Newman-Property | ymail-4 |
| X-Yahoo-Newman-Id | 328289.881.bm@omp1086.mail.gq1.yahoo.com |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1406533295; bh=vASJ9dUXGcUJIq7JOpQyglicwugz2pBPeQy4vwfYsTk=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=S0Dd9CMzXXYLyeEtS3CiY+jJpV+rZGquxUXQdONQfokn6yiQOgLfWm5sKLIC+6ZhZnPaeYRSdklZTJS/I3attx0g+2Bw3W2T34aopFLvdFk6IYtfDBKayIFt+sa+A8ZvNqDCdj+C5lECDbLA4K+rNh5PVD5LHvOxBPwClcFf/fY= |
| X-YMail-OSG | gZaBeA8VM1kKI0ir9OYYVkSQ5xQO6nQeAkhjR3toatG9J1k GnhaGUURLSjS6duJ33QQJLzhk7W7l3MDMXN7DW5KVqWWE7lsHXOm2Cd3x_25 Y0etSeTHds12dODcKFou047zUgFtDr_cAu92OD1FIf2I6AEmJj829lp0xyDl RNMEppFVaNi6uVtItNHIFE_UqxH.aP9Ct4OojESZgPRJMZl.jjqCvRsJNaaS C0UdZ.fIMzWEVFyTf86kt7FgvO1hthSB95lfeEHeIdtY.ztnHB7bHpkv31r2 NdFHuaIoZ5LVb.IYoHoFJASRws1kQDfmU8GHwovjL8Jm_l5oZQf..m92zuRw pOQH.HhiMrFqsZaM9PmG1Nb09AZ2r07uebGwevvn2uaCTDV8QQJM655yOeBq eDMu7tkQHrnKqEc4YWGleQETD6dwGq1ee87ayGuUGNt3NHol.02ePoZjVnrW KsY6BcKcL426_QZDXqNigDoy98zZLnla6DzX0jChM1ujecLCK0Kw6DpKEIaV DLSf2jsSjJ5BwJH4iHNTs3HeNHCfM3c41NMDS_O9waX2kr0nhX1Ja6NokKhA SkqxEdHgPBWz9.mOc38NtHin4yfdw6Y._2pRUXwvbzJDsEnSyWGxtGHMTvep m2yOjjnXhud3MDZKDshgob6PyJUXMPA-- |
| X-Rocket-MIMEInfo | 002.001, Cgo8c25pcD4KwqAKPiBUaGF0J3Mgbm90IHR1cGxlJXR1cGxlLCBidXQgcmF0aGVyIHN0cmluZyV0dXBsZS7CoCBBbmQgc3RyaW5nJXR1cGxlIGlzIAo.IHRoZSBvbGRlciBtZXRob2Qgb2YgZm9ybWF0dGluZyBhbiBvdXRwdXQgc3RyaW5nIGZyb20gYSB0ZW1wbGF0ZSBhbmQgYSAKPiB0dXBsZSBvZiB2YWx1ZXMuwqAgU2VlIAo.IGh0dHBzOi8vZG9jcy5weXRob24ub3JnLzIvbGlicmFyeS9zdGR0eXBlcy5odG1sI3N0cmluZy1mb3JtYXR0aW5nIGZvciAKPiBkZXRhaWxzLgo.IAo.IEhvd2V2ZXIsIGlmIHlvdSABMAEBAQE- |
| X-Mailer | YahooMailWebService/0.8.196.685 |
| References | <cefbd1ff-b65f-43ec-947e-2324085a6486@googlegroups.com> <53D55ACA.5090901@islandtraining.com> |
| Date | Mon, 28 Jul 2014 00:41:35 -0700 |
| From | Albert-Jan Roskam <fomcl@yahoo.com> |
| Subject | Re: What meaning of this ""hello %s you are %s years old" % x" |
| To | Gary Herron <gary.herron@islandtraining.com>, "python-list@python.org" <python-list@python.org> |
| In-Reply-To | <53D55ACA.5090901@islandtraining.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | Albert-Jan Roskam <fomcl@yahoo.com> |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12382.1406533649.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1406533649 news.xs4all.nl 2856 [2001:888:2000:d::a6]:36903 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:75304 |
Show key headers only | View raw
<snip> > That's not tuple%tuple, but rather string%tuple. And string%tuple is > the older method of formatting an output string from a template and a > tuple of values. See > https://docs.python.org/2/library/stdtypes.html#string-formatting for > details. > > However, if you are just learning Python, you should probably use the > *newer* formatting operations. See > https://docs.python.org/3.3/library/string.html#formatspec for details > of that. Do you know what was the reason/consideration to switch to a new formatting operation? Ability to have custom formatters with an own __format__ method? Regards, Albert-Jan
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What meaning of this ""hello %s you are %s years old" % x" fl <rxjwg98@gmail.com> - 2014-07-27 11:49 -0700 Re: What meaning of this ""hello %s you are %s years old" % x" Gary Herron <gary.herron@islandtraining.com> - 2014-07-27 13:02 -0700 Re: What meaning of this ""hello %s you are %s years old" % x" Dan Stromberg <drsalists@gmail.com> - 2014-07-27 14:37 -0700 Re: What meaning of this ""hello %s you are %s years old" % x" Albert-Jan Roskam <fomcl@yahoo.com> - 2014-07-28 00:41 -0700 Re: What meaning of this ""hello %s you are %s years old" % x" Chris Angelico <rosuav@gmail.com> - 2014-07-28 17:58 +1000
csiph-web