def remove_stop_words(word_list):
    assert(type(word_list) is list), "I need a list!"

    try:
        with open('../stop_words.txt') as f:
            stop_words = f.read().split(',')
    except IOError as e:
        print "I/O error({0}) when opening ../stops_words.txt: {1}! I quit!".format(e.errno, e.strerror)
        raise e

    stop_words.extend(list(string.ascii_lowercase))
    return [w for w in word_list if not stop_words in w]
dataset/ETHPy150Open crista/exercises-in-programming-style/21-tantrum/tf-21.py/remove_stop_words/swapped operands of `in`