open the file 'words.txt' in 'rU' mode,"f = open('words.txt', 'rU')"