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