Python standard library: Byte strings (the 'bytes' type)

preview_player
Показать описание
In Python 3, strings contain characters — each of which might contain multiple bytes. If you want to work with binary data, you'll need to work with "byte strings," aka the Python "bytes" type. Here's an intro to that type, and the methods that work on it.

Subscribe to this channel, as I try to go through all of the Python standard library!
Рекомендации по теме
Комментарии
Автор

You're so engaging! Thanks for the great video!

jenhill
Автор

Great lesson! Something that throws me off is that b'a'[0] is an int, while b'a'[0:1] is a bytes string! This is different from str() which always produces a string with the slice operation

ShortGiant
Автор

Can u tell me, where and when bytes built in function is used as an data analysis I am beginner in using python-3

vekariyaarchana
Автор

I am a beginner and this is so confusing😂

nontombisiro