import operator


def find_indices_where(in_list, value, condition=operator.eq):
    """Return list of indices in in_list that match the condition value
    
       Condition operators from import operator are e.g. 
         operator.eq : ==
         operator.ne : !=
         operator.lt : <
         operator.le : <=
         operator.gt : >
         operator.ge : >=
    """
    return [i for i,x in enumerate(in_list) if condition(x, value)]