import struct with open('a.bmp','rb') as f: s = f.read(30) print(s) r = struct.unpack('<ccIIIIIIHH',s) print(r)
Sign in to make a reply
hello_spring_cc