Reading binary files in Python

Опубликовано: 27 Октябрь 2024
на канале: Python Morsels
6,391
73

How can you read binary files in Python? And how can you read very large binary files in small chunks?

Read an article version of this video at https://pym.dev/reading-binary-files-...

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

00:00 How to read a binary file in Python
00:43 Use a library to read your binary file
01:10 Working at the byte level in Python
02:00 Reading binary files in chunks
03:09 Aside: using an assignment expression
03:28 Avoid reading binary files if you can

#python #bytes