MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-277753.py

File recipe-277753.py

recipes/Python/277753_Find_replace_string_all_files/recipe-277753.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/python2
2import fileinput, glob, string, sys, os
3from os.path import join
4# replace a string in multiple files

Callers

nothing calls this directly

Calls 6

joinFunction · 0.50
exitMethod · 0.45
inputMethod · 0.45
findMethod · 0.45
replaceMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected