A python version ofr make_WFMalarms.sh

A Python version for the previous script make_WFMalarms.sh
It could be safely replaced by make_WFMalarms.py, which has a tidier
code, runs faster and has comments.