Have a string, and want to turn it into bytes? Or have some bytes, and want to turn them into a string? Here, I show you all about str.encode and bytes.decode, and how we can use them to move between (non-ASCII) characters and bytes.
In addition to these videos, I have an active blog and free, weekly "Better developers" mailing list; see more at [ Ссылка ] .
Subscribe to this channel, as I try to go through all of the Python standard library!
![](https://s2.save4k.ru/pic/5zMmc1wmZ_0/maxresdefault.jpg)