I need help in adding content from a notepad file called "Words.txt" to my Tkinter hangman game. If someone could write me a line of code to add to add to the one below -
WORDS = (add code here)
What needs to happen is every time new word is chosen it should randomly choose one from the list of words in the text document...I wrote all the code for the program to work and do what I want it to do but its just this one bit I cannot achieve.
My txt document consists of just a list of pretty much every word in the English language to make the game bit more challenging. Any help would be greatly appreciated in advance.