Very dumb question
Laszlo Zsolt Nagy
gandalf at designaproduct.biz
Wed Oct 12 11:03:01 EDT 2005
>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
More information about the Python-list
mailing list