#!/usr/bin/python #coding=UTF-8 #FileName:search.py #文件搜索 import os; import sys; returnList = []; def search_file_in_dir(fileName, dirName): global returnList; #print dirName; if not os.path.isdir(dirName): sys.exit('directory does not exist.(%s)'%(d…