def __BitList_to_String(self, data):
        result = []
        pos = 0
        c = 0
        while pos < len(data):
            c += data[pos] << (7 - (pos % 8))
            if (pos % 8) == 7:
                result.append(c)
                c = 0
            pos += 1

        if _pythonMajorVersion < 3:
            return ''.join([ chr(c) for c in result ])
        else:
            return bytes(result)
Turn the list of bits -> data, into a string
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/utils/pyDes.py/des.__BitList_to_String