Ported lstParse.pl post-processor script to Python