def indices(shape):
 iterables = [range(v) for v in shape]
 return product(*iterables)

def indices ( shape ) : iterables = [ range ( v ) for v in shape ] return product ( * iterables )
show all indices in the database cli example: .