import os, string
print " "
setpath = raw_input("Ente r the path: ")
def find_replace(se tpath):
for root, dirs, files in os.walk(setpath ):
fname = files
for fname in files:
find = string.find(fil e(os.path.join( root,fname),
'rb').read(), 'THIS')
print find
if find >=1:
replace = string.replace( str, 'THIS', 'THAT')
find_replace(se tpath)
print "...