Bruno Desthuilliers wrote:
> First point is that Python has no "variable interpolation".

If you squint, it kind of does*:

    >>> print '%(language)s has %(#)03d quote types.' % \
              {'language': "Python", "#": 2}
    Python has 002 quote types.

You might think if the dict as a name space and the formatting operation 
as performing interpolation--but this take on formatting might be a stretch.

James

* http://docs.python.org/lib/typesseq-strings.html
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to