def unique ( _list ) : ret = [ ] for item in _list : if item not in ret : ret . append ( item ) return ret
python remove every other item in list
Makes the list have unique items only and maintains the order
def unique(_list):
    """
    Makes the list have unique items only and maintains the order

    list(set()) won't provide that

    :type _list list
    :rtype: list
    """
    ret = []

    for item in _list:
        if item not in ret:
            ret.append(item)

    return ret