Unicode list

Rehceb Rotkiv rehceb at no.spam.plz
Sun Apr 1 15:54:35 CEST 2007


> 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



More information about the Python-list mailing list