[Python-3000] format() method and % operator
Colin J. Williams
cjw at sympatico.ca
Fri Aug 17 16:42:51 CEST 2007
Victor Stinner wrote:
> Hi,
>
> I read many people saying that
> "{0} {1}".format('Hello', 'World')
> is easiert to read than
> "%s %s" % ('Hello', 'World')
>
Not me.
>
> But for me it looks to be more complex: we have to maintain indexes (0, 1,
> 2, ...), marker is different ({0} != {1}), etc.
>
>
> I didn't read the PEP nor all email discussions.
Ditto
Colin W.
More information about the Python-3000
mailing list