Steven D'Aprano wrote: > But the real killer is this one line: > > row=row+chr(num/64) > > Bad, bad BAD idea. Every time you add two strings together, Python > has to copy BOTH strings. As row gets huge, this takes longer and > longer to do.
This is no longer true as of CPython 2.4 though. I'm not sure which version the OP was using because he didn't say. -- Giovanni Bajo -- http://mail.python.org/mailman/listinfo/python-list