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")
Regards,
Peter
--
http://mail.python.org/mailman/listinfo/python-list
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")
Regards,
Peter
--
http://mail.python.org/mailman/listinfo/python-list