Discuss / Python / 作业 尽快把这里赶完 做做项目

作业 尽快把这里赶完 做做项目

Topic source

def bmp_info(data):

    x=struct.unpack('<ccIIIIIIHH',data[:30])

    return {

        'width': x[-4],

        'height': x[-3],

        'color': x[-1]

    }


  • 1

Reply