Bits list to integer in Python,"int(''.join(str(i) for i in my_list), 2)"