On Wed, Mar 28, 2012 at 7:56 PM, Peter Daum <[email protected]> wrote: > Hi, > > is there any way to convert a string to bytes without > interpreting the data in any way? Something like: > > s='abcde' > b=bytes(s, "unchanged")
What is a string? It's not a series of bytes. You can't convert it without encoding those characters into bytes in some way. ChrisA -- http://mail.python.org/mailman/listinfo/python-list
