>i. e. a character after a 'carriage return' ('\r') overwrites part of the >string which therefore doesn't seem to grow. Try > >print repr(data[:51]) > >to see what's really in your data string. > > Yes, that was it! Thanks for you help. I thought it will be something obvious. The server returned carriage returns in the HTML source code, and I tried to print that. :-)
Les -- http://mail.python.org/mailman/listinfo/python-list