Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get all 5 letter words in python

word_site = "http://www.instructables.com/files/orig/FLU/YE8L/H82UHPR8/FLUYE8LH82UHPR8.txt"
response = urllib2.urlopen(word_site)
txt = response.read()
WORDS = txt.splitlines()
randomword=(random.choice(WORDS))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #letter #words #python
ADD COMMENT
Topic
Name
2+3 =