Contents:
Dev & Reference
Modifies a file by running a function on each line.
filename (str)
line_func (callable) – Should return the line to write to the modified file.