get a list of words `words` of a file 'myfile',words = open('myfile').read().split()