Inplace filtering with python

This redirects standard output to the file that is being read and overwrites each line, inplace:

usage example : ./test.py *html


Reference: