> When printing a list, the individual elements are converted with repr(), > not with str(). For a string object, repr() adds escape codes for all > bytes that are not printable ASCII characters.
Thanks Martin, you're right, it were the repr() calls that messed up the output. Iterating the array like you proposed is even 1/100s faster ;) Regards, Rehceb -- http://mail.python.org/mailman/listinfo/python-list