Representing binary data with bytes in Python

Veröffentlicht am: 16 Oktober 2023
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Representing binary data with bytes in Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Python Morsels 16 Oktober 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 237 Mal angesehen und es wurde von 11 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!