fuzzylollipop wrote: > niether .join() is the fastest Please quote what you're replying to.
No, it's the slowest: [EMAIL PROTECTED]:~$ python -m timeit "'<p>%s</p>\n\n' % 'foobar'" 1000000 loops, best of 3: 0.607 usec per loop [EMAIL PROTECTED]:~$ python -m timeit "'<p>' + 'foobar' + '</p>\n\n'" 1000000 loops, best of 3: 0.38 usec per loop [EMAIL PROTECTED]:~$ python -m timeit "''.join(['<p>', 'foobar', '</p>\n\n'])" 1000000 loops, best of 3: 0.817 usec per loop -- http://mail.python.org/mailman/listinfo/python-list