import urllib.request
word_url = "http://svnweb.freebsd.org/csrg/share/dict/words?view=co&content-type=text/plain"
response = urllib.request.urlopen(word_url)
long_txt = response.read().decode()
words = long_txt.splitlines()
there are total of 25487 words as in all
will be useful to general random words
link to the following
https://stackoverflow.com/questions/18834636/random-word-generator-python
Comments
Post a Comment