_list = [1,2,3,4,5]
_list_to_binary = [ bin(list_item)[2:] for list_item in _list ]
# outputs ['1', '10', '11', '100', '101']
List = [0, 1, 0, 1, 0, 1]
print ("The List is : " + str(List))
# binary list to integer conversion
result = int("".join(str(i) for i in List),2)
# result
print ("The value is : " + str(result))