iterate through words of a file in python,words = open('myfile').read().split()