Skip to content

Instantly share code, notes, and snippets.

@rsxss
Last active June 28, 2020 13:09
Show Gist options
  • Save rsxss/79716857e54cfa692c436b6c6b6b9cb5 to your computer and use it in GitHub Desktop.
Save rsxss/79716857e54cfa692c436b6c6b6b9cb5 to your computer and use it in GitHub Desktop.
import urllib2
word_site = "http://svnweb.freebsd.org/csrg/share/dict/words?view=co&content-type=text/plain"
if __name__ == '__main__':
response = urllib2.urlopen(word_site)
txt = response.read()
WORDS = txt.splitlines()
print(txt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment