If you are able to get the text files, you should just need basic text file parsing.
Something like this should be fine for your purposes:
http://www.pythonforbeginners.com/files/reading-and-writing-files-in-python
Specifically, to open a file that you have locally you can use something like this:
file = open("newfile.txt", "r")
Where the first argument is the name of your file and the second argument is the mode you want to open the file in ("r" stands for read). You then can use various methods like file.read(), file.readline(), or file.readlines() to get characters from the text file.
If you want to read words from the text file specifically, check out Reading a text file and splitting it into single words in python as well. The answer there shows you how to iterate through all the words in a text file that is located in the same directory as your python script.
with open('words.txt','r') as f:
for line in f:
for word in line.split():
print(word)
If you don't have the file locally downloaded but you have the URL, this should also help you out: In Python, given a URL to a text file, what is the simplest way to read the contents of the text file?
The specific part in that link you are looking for is this:
import urllib2 # the lib that handles the url stuff
data = urllib2.urlopen(target_url) # it's a file like object and works just like a file