Use Python in shell, as if it were Awk
blog.blockingqueue.com