A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-June/025864.html below:

why string substitution is not the same operation as data formatting

[Python-Dev] PEP 292-related: why string substitution is not the same operation as data formatting [Python-Dev] PEP 292-related: why string substitution is not the same operation as data formattingBarry A. Warsaw barry@zope.com
Sun, 23 Jun 2002 20:03:37 -0400
>>>>> "LM" == Lalo Martins <lalo@laranja.org> writes:

    LM> Also, if you keep your templates (let's call a string
    LM> containing substitution markup a template, shall we?) outside
    LM> your source code, as is the case with i18n, pure substitution
    LM> doesn't require the people who edit them (for example,
    LM> translators) to know anything about python *or* even
    LM> programming.

It isn't always done that way though.  See Francois's very good
followup describing gettext vs. catgets.

    LM> Now, data formatting is another animal entirely. It's a way to
    LM> request one specific representation of a piece of data.

I agree!
-Barry




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