I might just be being dumb tonight, but why doesn't this work:

>>> '%s aaa %s aa %s' % ['test' for i in range(3)]
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: not enough arguments for format string

(I'm in Python 2.4 if that matters)

Thanks,

Greg

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

Reply via email to