Hi Chris. Thanks for sharing. Only mention that could use the function itertools.chain to flat a list of list. Take care.
Thanks Moshe, nice article.
I've been using awk for a while and agree with the benefits of porting a script to Python.
Would be interesting to see some performance comparison.