Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
import re
output = []
# use a "with" block to automatically close I/O streams
with open('mylist.txt') as word_list:
# read the contents of mylist.txt into the words list using list comprehension
words = [word.strip().lower() for word in word_list]

Keybase proof

I hereby claim:

  • I am martinpauleve on github.
  • I am eve (https://keybase.io/eve) on keybase.
  • I have a public key whose fingerprint is 6DA4 7ECE E3CE 1084 941B 466F E797 9B80 08F7 A539

To claim this, I am signing this object: