Replacing tags in python files as well