The Python Oracle

What is the difference between a string and a byte string?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Cool Puzzler LoFi

--

Chapters
00:00 Question
00:27 Accepted answer (Score 357)
01:31 Answer 2 (Score 674)
04:10 Answer 3 (Score 31)
06:55 Answer 4 (Score 6)
07:46 Thank you

--

Full question
https://stackoverflow.com/questions/6224...

Accepted answer links:
[unicode codepoints]: http://en.wikipedia.org/wiki/Unicode

Answer 2 links:
[MP3]: https://en.wikipedia.org/wiki/MP3
[WAV]: https://en.wikipedia.org/wiki/WAV
[PNG]: https://en.wikipedia.org/wiki/Portable_N...
[JPEG]: https://en.wikipedia.org/wiki/JPEG
[ASCII]: https://en.wikipedia.org/wiki/ASCII
[UTF-8]: https://en.wikipedia.org/wiki/UTF-8

Answer 3 links:
[open]: https://docs.python.org/3/library/functi...

Answer 4 links:
[algorithm for decoding UTF-8]: https://stackoverflow.com/a/1543616

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #string #character #byte

#avk47