Representing binary data with bytes in Python

Publicado el: 16 octubre 2023
en el canal de: Python Morsels
237
11

In Python, strings are used to represent text and 'bytes' are used to represent binary data. If you end up with bytes that representing text, you can decode them to get a string instead.

https://pym.dev/representing-binary-d...

Find more Python screencasts at https://pym.dev/screencasts/

00:00 Creating bytes objects in Python
00:33 Strings represent text, bytes objects represent binary data
01:11 Where are bytes objects used in Python?
02:08 Hashability makes dictionaries and sets fast
03:01 Summary


En esta página del sitio puede ver el video en línea Representing binary data with bytes in Python de Duración hora minuto segunda en buena calidad , que subió el usuario Python Morsels 16 octubre 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 237 veces y le gustó 11 a los espectadores. Disfruta viendo!