Binary data handling ?
lorenb2 at bezeqint.net
Thu Aug 28 16:01:20 CEST 2003
I'm having difficulties to accomplish some simple chores with binary data.
I'm having a string (?) which I received via an HTTP transactions which is a
Problem is the webserver I'm communicating with injected a \x0D before every
and I need to remove those 0x0D characters from my buffer before saving it
any ideas ?
I tried the following without any success:
string.replace("%c%c" % (13,10), "%c" % (10))
More information about the Python-list