Unpack a byte object according to a format string

suggest change
from struct import unpack

print(unpack('I3c', b'{\x00\x00\x00abc'))  # (123, b'a', b'b', b'c')

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents