def int_to_bin_list(value, width=None):
 m = (width or 6)
 return ((value & (1 << np.arange(m))) > 0).astype(int)

def int_to_bin_list ( value , width = None ) : m = ( width or 6 ) return ( ( value & ( 1 << np . arange ( m ) ) ) > 0 ) . astype ( int )
create binary repr from int from URL .