Skip to content

Instantly share code, notes, and snippets.

@gcr
Created June 28, 2009 05:56
Show Gist options
  • Select an option

  • Save gcr/137204 to your computer and use it in GitHub Desktop.

Select an option

Save gcr/137204 to your computer and use it in GitHub Desktop.
import urllib2
import zipfile
import StringIO
print [
word.lower().strip()
for word in zipfile.ZipFile(
StringIO.StringIO(
urllib2.urlopen("http://superb-east.dl.sourceforge.net/sourceforge/wordlist/12dicts-5.0.zip").read()
)
).open("6of12.txt")
if len(word.strip()) > 6
and set(word.lower().strip()).issubset(set("yuiophjklnm"))
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment