def SetRemove(list1,list2):
    """
    Returns a list containing list1 with items in list2 removed.
    """

    #----------------------
    # Make A Copy Of List 1
    #----------------------

    ReturnList = list1[:]

    #---------------------------
    # For Each Item In List 2...
    #---------------------------
    
    # Check each item in list 2. If it's in the return list, remove it.
    
    for Item in list2:
        if Item in ReturnList: ReturnList.remove(Item)

    #----------------------
    # Return List To Caller
    #----------------------
    
    # ReturnList has had all the items in List 2 removed from it. We're all done!
    
    return ReturnList