The for version, as claimed by http://www.python.org/doc/essays/list2str.html
The fastest version of the algorithm is this one:
In [4]:import array In [5]:def f7(list): .5.: return array.array('B', list).tostring() .5.: In [6]:f7([97, 98, 99]) Out[6]:'abc'
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor