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

Albert W. Hopkins marduk at letterboxes.org
Wed Mar 28 15:22:39 EDT 2012


On Wed, 2012-03-28 at 14:05 -0400, Ross Ridge wrote:
> Ross Ridge <rridge at csclub.uwaterloo.ca> wr=
> > Of course it is. =A0Conceptually you're not supposed to think of it that
> > way, but a string is stored in memory as a series of bytes.
> 
> Chris Angelico  <rosuav at gmail.com> wrote:
> >Note that distinction. I said that a string "is not" a series of
> >bytes; you say that it "is stored" as bytes.
> 
> The distinction is meaningless.  I'm not going argue with you about what
> you or I ment by the word "is".
> 

Off topic, but obligatory:

https://www.youtube.com/watch?v=j4XT-l-_3y0





More information about the Python-list mailing list