Perlpie is a project mainly written in Python, it's free.
Substitute text in files in a directory structure recursively using Python