"convert" string to bytes without changing data (encoding)

Ross Ridge rridge at csclub.uwaterloo.ca
Wed Mar 28 17:36:10 CEST 2012

Chris Angelico  <rosuav at gmail.com> wrote:
>What is a string? It's not a series of bytes.

Of course it is.  Conceptually you're not supposed to think of it that
way, but a string is stored in memory as a series of bytes.

What he's asking for many not be very useful or practical, but if that's
your problem here than then that's what you should be addressing, not
pretending that it's fundamentally impossible.

					Ross Ridge

 l/  //	  Ross Ridge -- The Great HTMU
[oo][oo]  rridge at csclub.uwaterloo.ca
-()-/()/  http://www.csclub.uwaterloo.ca/~rridge/ 
 db  //	  

More information about the Python-list mailing list