def load_words(filename):
 f = open(filename,'r')
 content = f.read()
 f.close()
 wds = content.split()
 return wds
words = load_words("vocab.txt")
print "there are %d words in vocab file, starting with \n %s"%(len(words),words[:6])

0be9b88849c096eabb51195d7cb962d2ab4cbf8d
def load_words(filename):
 f = open(filename,'r')
 content = f.read()
 f.close()
 wds = content.split()
 return wds
words = load_words("vocab.txt")
print "there are %d words in vocab file, starting with \n %s"%(len(words),words[:6])
