A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-July/026507.html below:

why string substitution is not the same operation as data formatting)

Further suggestion (RE: [Python-Dev] PEP 292-related: why string substitution is not the same operation as data formatting) Further suggestion (RE: [Python-Dev] PEP 292-related: why string substitution is not the same operation as data formatting)Greg Ewing greg@cosc.canterbury.ac.nz
Mon, 15 Jul 2002 13:12:41 +1200 (NZST)
Tim:
> [Aahz]
> > I've used "%20s" * 5 frequently enough in the past to do crude tables.
> > That's not a feature I'd like to lose.
> 
> So has Guido -- he'll remember that before it's too late <wink>.  Ditto "-"
> to switch string justification.

Addendum to my suggestion: The "{...}" plays the role of
the "s" in a normal string format, so that you can do

  %-20{foo}

etc.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4