how to convert decimal to binary list in python,[int(x) for x in list('{0:0b}'.format(8))]