I think you just have a typo in hangman_words.py where "word" in word_list is not plural, but in the other file is referred to as words_list.