Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2
import
fileinput, glob, string, sys, os
3
from
os.path
import
join
4
# replace a string in multiple files
Callers
nothing calls this directly
Calls
6
join
Function · 0.50
exit
Method · 0.45
input
Method · 0.45
find
Method · 0.45
replace
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected