pelon wrote:
> On Jun 5, 6:27 am, [EMAIL PROTECTED] wrote:
>> On 5 Jun., 13:12, Peter Otten <[EMAIL PROTECTED]> wrote:
>>
>>> or like this:
>>>>>> "%s %.s %s" % ("first", "second", "third")
>>> 'first  third'
>> Hey, that's great, thanks Peter!
>>
>> Tom
> 
> Why not be consistent with other aspects of the language:
> 
> "%s %!s %s" % ("first", "second", "third")

You may be interested in the Python 3000 plans, where this is written::

     '{0}  {2}'.format('first', 'second', 'third')

http://www.python.org/dev/peps/pep-3101/

STeVe
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to