2 ms·
fsvo 'binary', i think i agree. I've written my fair share of struct.unpack-heavy code, and it's just tedious. I also think that __str__ and __repr__ behavior
by hprotagonist 7y ago
fsvo 'binary', i think i agree. I've written my fair share of struct.unpack-heavy code, and it's just tedious.
I also think that __str__ and __repr__ behavior on bytes is misleading at best. I do not like getting ascii values for some bytes and not others... and iterating to get base-10 ints!?
Pillow[simd], soundfile, and imageio can do nice things for image and sound data.