1.recursion filesList in dir,if found the file then return the file path
2.print value is true. but always return NONE
def getFilePath(filepath,fileName):
files = os.listdir(filepath)
for fi in files:
fi_d = os.path.join(filepath, fi)
if os.path.isdir(fi_d):
getFilePath(fi_d, fileName)
else :
if fi_d.find(fileName) == -1:
continue
else:
print fi_d
return fi_d